yum install -y yum-utils device-mapper-persistent-data \
lvm2 ipvsadm container-selinux
yum-config-manager --add-repo \
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://fybzbr5g.mirror.aliyuncs.com",
"https://docker.mirrors.ustc.edu.cn",
"https://mirror.ccs.tencentyun.com",
"https://registry.docker-cn.com"
]
}
EOF
systemctl daemon-reload
systemctl restart docker
本作品採用《CC 協議》,轉載必須註明作者和本文連結
:kissing_closed_eyes:
我愛小硯 乀(ˉεˉ乀)