跑步时
docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -t my-project .它失败了,出现了一个非常神秘的错误消息:
------
> [internal] load build context:
------
error: failed to solve: snapshot does not exist: not found我在谷歌里找不到。
这是在debian上,我刚刚从debian的docker.io切换到docker-ce包,以获得buildx支持。
发布于 2022-08-12 23:39:06
当使用具有内置功能的docker buildx命令时,会显示这个神秘的错误,但是码头服务仍然是不支持构建的旧服务。
手动重新启动码头服务。
service docker restart(或者类似的,取决于您的服务系统)和buildx将很好地工作。
https://stackoverflow.com/questions/73340623
复制相似问题