docker安装与卸载
centos7安装docker安装依赖包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更新yum包索引(这步可以没有)yum make
·
centos7安装docker
安装依赖包
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
更新yum包索引(这步可以没有)
yum makecache fast
安装Docker CE
yum install docker-ce
启动docker
systemctl start docker
systemctl stop docker
systemctl enbale docker
卸载docker
systemctl stop docker
systemctl disable docker
yum remove docker-ce
rm -rf /var/lib/docker
官 方 安 装 文 档 : https://docs.docker.com/engine/installation/linux/docker- ce/centos/#docker-ee-customers
更多推荐
已为社区贡献2条内容
所有评论(0)