問題描述:
今天使用docker buildx 構建Multi-platform,提示如下錯誤:
ERROR: Multi-platform build is not supported for the docker driver. Switch to a different driver, or turn on the containerd image store, and try again.
于是按照提示打開containerd image store,打開位置如下:
打開以后,重啟Docker Desktop,發現使用buildx命令時,一直卡住,沒有任何輸出,重啟Docker Desktop,也會一直卡在starting界面。
解決方案:
出現此問題后,嘗試進行卸載手動卸載/使用官方自帶工具卸載,發現均無效。最終解決方案為(如圖):
在1tab中,點擊2、3處按鈕,然后重啟Docker Desktop。
此操作會清除所有Docker Desktop數據,清謹慎使用