centos 安装docker
服务器的系统是CentOS7.4的 [root@VM_82_178_centos ~]# cat /etc/RedHat-release CentOS Linux release 7.4.1708 (Core) #安装依赖包 yum install -y yum-utils device-mapper-persistent-data lvm2 #添加Docker软件包源 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo #安装Docker CE yum install docker-ce -y #启动 systemctl start docker #开机启动 systemctl enable docker #查看Docker信息 docker inf