将镜像修改成国内镜像 在 /etc/docker/daemon.json 文件中添加以下参数(没有该文件则新建): { "registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"] } 服务重启 systemctl daemon-reload systemctl restart docker