yum install -yDocker

yum install -y docker

2、启动Docker

systemctl start docker

3、开启开机启动

systemctl enable docker

4、查看Docker信息

docker info