linux下docker安装
1.安装依赖包
执行命令:yum install -y yum-utils device-mapper-persistent-data lvm2
2.安装docker
执行命令:yum install -y docker
3.启动和关闭docker
启动:systemctl start docker
关闭:systemctl stop docker
标签:systemctl,yum,install,linux,docker,安装 From: https://www.cnblogs.com/shaohuang/p/17506367.html