创建或修改 /etc/docker/daemon.json
:
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://docker.m.daocloud.io"
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
引自:https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6
Comments NOTHING