第一种方法:
使用daocloud加速器(平台注册入口注册https://account.daocloud.io/signin)获得加速器
centos7中使用docker pull时出现timeout接下来复制上边的加速器
centos7中使用docker pull时出现timeout在输入vim etc/docker/daemon.json之后,回车,点击i,输入下图,然后点击esc,输入:wq!回车
centos7中使用docker pull时出现timeout
重新启动docker:
systemctl docker restart

再使用docker pull

第二种方法:
由于本人在使用中,发现使用daocloud加速器还是很慢,所以使用阿里云的加速器(https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
centos7中使用docker pull时出现timeout

  1. vim etc/docker/daemon.json
  2. systemctl daemon-reload
  3. systemctl restart docker
  4. cat etc/docker/daemon.json 查看是否修改成功
  5. 使用docker pull 速度会变得很快

centos7中使用docker pull时出现timeout

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-10-18
猜你喜欢
  • 2021-10-27
  • 2021-07-02
  • 2022-01-23
  • 2022-12-23
  • 2021-12-09
相关资源
相似解决方案