标签:class ica gre 仓库 utils aliyun service map json
- sudo yum remove docker docker-common docker-selinux docker-engine
- yum install -y yum-utils device-mapper-persistent-data lvm2
- sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- yum list docker-ce --showduplicates | sort -r
- sudo yum install docker-ce
- sudo systemctl start docker
- sudo systemctl enable docker
- docker version
- vi /etc/docker/daemon.json
{
"registry-mirrors": ["https://y0qd3iq.mirror.aliyuncs.com"]
}
重启docker
- service docker restart
查看配置是否生效
- docker info|grep Mirrors -A 1
标签:class ica gre 仓库 utils aliyun service map json
原文地址:https://www.cnblogs.com/mankeu/p/13390455.html