1.查看Centos版本内核是否高与3.1
uname -r
2.如果低于3.1升级内核
yum update
3.安装Docker
yun install docker
4.启动docker
systemctl start docker
5.设置docker开机启动
systemctl enable docker
1.查看Centos版本内核是否高与3.1
uname -r
2.如果低于3.1升级内核
yum update
3.安装Docker
yun install docker
4.启动docker
systemctl start docker
5.设置docker开机启动
systemctl enable docker
转载于:https://www.cnblogs.com/PeterXu1997/p/9685415.html