Ubuntu
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo tee /etc/systemd/system/docker.service.d/mirror.conf <<-'EOF'
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// --registry-mirror=https://xxxxx.mirror.aliyuncs.com
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Windows 10
{
"registry-mirrors": [
"https://vyicveys.mirror.aliyuncs.com"
],
"insecure-registries": [
"192.168.1.13:5000"
],
"experimental": true
}