当前位置:   article > 正文

docker: error pulling image configuration: Get https://production.cloudflare.docker. i/o timeout.

docker: error pulling image configuration: get

 

 docker: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/be/be37522b27a4350f7c2a4d744aab5a71e97aa985cf71d5db7b8a906a4087393a/data?verify=1720094462-pV8%2FGd0wvFHqBxOxXmv7APiD%2FYw%3D: dial tcp 128.242.240.157:443: i/o timeout.
See 'docker run --help'.

  1. export http_proxy=http://172.20.40.25:10809
  2. export https_proxy=http://172.20.40.25:10809
  3. #创建一下目录和文件
  4. mkdir /etc/systemd/system/docker.service.d/
  5. vim /etc/systemd/system/docker.service.d/http-proxy.conf
  6. #添加一下内容
  7. [Service]
  8. Environment="HTTP_PROXY=http://172.20.40.25:10809"
  9. Environment="HTTPS_PROXY=http://172.20.40.25:10809"
  10. Environment="NO_PROXY=localhost,127.0.0.1"
  11. #重启
  12. systemctl daemon-reload
  13. systemctl restart docker
  14. #检查代理
  15. docker info | grep -i proxy

成功安装

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/939066
推荐阅读
相关标签
  

闽ICP备14008679号