Docker配置国内源(亲测免费稳定)
找到了最简单的方式,命令根据个人情况二选一
参考文章:
Docker/DockerHub 国内镜像源/加速列表(6月15日更新)_dockehub镜像站-CSDN博客
2025国内Docker镜像加速指南|实测推荐+避坑手册
1. 新的服务器,没有安装过docker的,推荐命令
bash <(curl -f -s --connect-timeout 10 --retry 3 https://linuxmirrors.cn/docker.sh) --source mirrors.tencent.com/docker-ce --source-registry docker.1ms.run --protocol https --install-latested true --close-firewall false --ignore-backup-tips
2. 已安装docker,未配置镜像源或者镜像源不稳定的
curl -s https://static.1ms.run/1ms-helper/scripts/install.sh | sudo bash /dev/stdin config:mirror
传统的配置方式
参考文章:
docker配置国内源_docker镜像库国内源-CSDN博客
加入群里获取,免费咨询:697500389
本文地址:https://www.vps345.com/15767.html
下一篇:windows中使用docker