配置国内Docker加速镜像源(亲测好用还免费)

感谢文章:

Docker/DockerHub 国内镜像源/加速列表(6月15日更新)_dockehub镜像站-CSDN博客

2025国内Docker镜像加速指南|实测推荐+避坑手册

免费,稳定,好用,无需登录注册| 加入群聊,获取技术支持:697500389

一键安装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

已安装docker,就执行这个命令

curl -s https://static.1ms.run/1ms-helper/scripts/install.sh | sudo bash /dev/stdin config:mirror

传统的安装

echo '{"registry-mirrors":["https://docker.1ms.run"]}' | sudo tee /etc/docker/daemon.json > /dev/null
systemctl daemon-reload
systemctl restart docker


 

你可能感兴趣的:(docker,容器,运维)