docker 代理设置
更新于 阅读 27 次
最近docker无法拉取镜像,设置代理即可
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<EOF { "registry-mirrors": [ "https://hub.uuuadc.top", "https://docker.anyhub.us.kg", "https://dockerhub.jobcher.com", "https://dockerhub.icu", "https://docker.ckyl.me", "https://docker.awsl9527.cn" ] } EOF sudo systemctl daemon-reload sudo systemctl restart docker