最后更新于4年前
yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo yum install -y docker-ce
{ "registry-mirrors": ["https://dockerhub.azk8s.cn"], "live-restore": true }
systemctl enable docker systemctl start docker