CentOS8安装docker
参考:https://www.cnblogs.com/ding2016/p/11592999.html
一,安装环境查看
二,下载docker-ce的repo
curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo
三,安装依赖
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
四,安装docker
yum -y install docker-ce
五,启动
systemctl enable docker systemctl start docker