后台下载docker centos镜像
2020-03-13 本文已影响0人
杰罗米诺大背头
1.
在docker配置文件/etc/sysconfig/docke的OPTIONS中添加“--registry-mirror=https://fzhifedh.mirror.aliyuncs.com”
[root@localhost ~]# vim /etc/sysconfig/docker# /etc/sysconfig/docker
OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false --registry-mirror=https://fzhifedh.mirror.aliyuncs.com '#换默认源地址
2.
nohup docker pull centos:centos7.2.1511 > centosimage.log 2>&1 &