服务器 centos 8
1、安装docker:
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker-ce-18.06.0.ce -y
systemctl start docker
systemctl enable docker
依次执行前三条命令:
yum install -y yum-utils device-mapper-persistent-data lvm2