vim /etc/docker/daemon.json { "registry-mirrors": [ "https://kfwkfulq.mirror.aliyuncs.com", "https://2lqq34jg.mirror.aliyuncs.com", "https://pee6w651.mirror.aliyuncs.com", "https://registry.docker-cn.com", "http://hub-mirror.c.163.com" ], "dns": ["8.8.8.8","8.8.4.4"] } #重启docker服务systemctl restart docker
原文地址:https://www.cnblogs.com/luoposhanchenpingan/p/11285392.html
时间: 2024-11-06 16:35:08