1、yum update -y 2、yum install docker 3、systemctl enable docker 4、service docker start 转载于:https://www.cnblogs.com/xdcr/p/11377684.html