服务器租用:CentOS 7 Docker 镜像加速器的方法

发布时间:2021-09-23

  常规的配置方法步骤:

  {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

注册即送1000元现金券