docker buildx 构建报错 failed to authorize: DeadlineExceeded 解决方案

共计 301 个字符,预计需要花费 1 分钟才能阅读完成。

报错内容:

docker buildx 构建报错 failed to authorize: DeadlineExceeded 解决方案

解决方案:

docker buildx create --use \
--name myproxybuilder \
--driver docker-container \
--buildkits docker-container \
--driver-opt env.http_proxy=http://192.168.8.28:2080 \
--driver-opt env.https_proxy=http://192.168.8.28:2080
 export BUILDKIT_NO_CLIENT_TOKEN=1

解决方案来源:

docker buildx 构建报错 failed to authorize: DeadlineExceeded 解决方案
https://github.com/moby/buildkit/issues/4725

构建成功截图

docker buildx 构建报错 failed to authorize: DeadlineExceeded 解决方案

正文完
 0
评论(没有评论)