sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://6qd3pr6d.mirror.aliyuncs.com"],
"insecure-registries": ["http://192.168.18.203"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://6qd3pr6d.mirror.aliyuncs.com"],
"insecure-registries": ["http://192.168.18.203"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker