下载软件包
$ sudo yum install -y yum-utils
device-mapper-persistent-data
lvm2
安装docker
sudo yum install docker
验证是否成功安装
docker version
or
docker info
启动Docker-CE
$ sudo systemctl enable docker
$ sudo systemctl start docker
sudo systemctl enable docker
sudo: systemctl: command not found