docker官网 介绍docker的文档
centos 安装docker
卸载centos中旧版本的docker
yum remove docker
docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine安装 工具
yum install -y yum-utils
device-mapper-persistent-data lvm2安装源
yum-config-manager
--add-repo安装docker
yum install docker-ce
启动docker
--启动docker
systemctl start docker
--查询docker的状态
systemctl status docker
--将docker 加入到开机启动中
systemctl enable docker