sudo sed -i "s|ExecStart=/usr/bin/dockerd|ExecStart=/usr/bin/dockerd --registry-mirror=加速器地址|g" /etc/systemd/system/docker.service sudo systemctl daemon-reload sudo service docker restart```