服务器租用:CentOS 7 Docker 镜像加速器的方法 |
常规的配置方法步骤: {registry-mirrors:[<youraccelerateaddress>]}sudocp-n/lib/systemd/system/docker.service/etc/systemd/system/docker.service sudosed-isExecStart=/usr/bin/dockerdaemonExecStart=/usr/bin/dockerdaemon--registry-mirror=<youraccelerateaddress>g/etc/systemd/system/docker.service sudosystemctldaemon-reload sudoservicedockerrestart |