转载:https://www.cnblogs.com/syqlp/p/6555699.html
1.看版本
cat /proc/version
2. 升级
yum -y update
3.安装 cgroup
yum install libcgroup
4.安装docker
yum install docker.x86_64
5.启动docker
systemctl start docker
6.设置开机启动docker
systemctl enable docker
7.查看docker
docker info