0


使用docker Desktop docker build 报错 无法拉取 nginx 镜像

具体报错信息:ERROR: failed to solve: nginxinc/nginx-unprivileged:alpine: failed to resolve source metadata for docker.io/nginxinc/nginx-unprivileged:alpine: failed to authorize: failed to fetch oauth token: Post "https://auth.docker.io/token": read tcp 192.168.100.5:61091->34.226.69.105:443: wsarecv: An existing connection was forcibly closed by the remote host.

解决方式:确保能访问外网,先执行一次 docker pull nginxinc/nginx-unprivileged:alpine

然后再执行 docker build . -t 镜像名

标签: docker nginx

本文转载自: https://blog.csdn.net/Cirzearchenille/article/details/142203809
版权归原作者 Cirzearchenille 所有, 如有侵权,请联系我们删除。

“使用docker Desktop docker build 报错 无法拉取 nginx 镜像”的评论:

还没有评论