yum -y update yum remove docker docker-common docker-selinux docker-engine yum install -y yum-utils device-mapper-persistent-data lvm2 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 一键安装 curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
参考:
https://cloud.tencent.com/developer/article/1701451
标签:com,ce,repo,yum,https,docker,安装 From: https://www.cnblogs.com/xiaoyou2018/p/17651561.html