1.必备环境
设定docker源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install yum-utils device-mapper-persistent-data lvm2 yum -y install epel-release yum -y install docker-io
2.查看版本
docker -v
1.必备环境
设定docker源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install yum-utils device-mapper-persistent-data lvm2 yum -y install epel-release yum -y install docker-io
2.查看版本
docker -v