赞
踩
uname -r
sudo yum update
sudo yum remove docker docker-common docker-selinux docker-engine
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum list docker-ce --showduplicates | sort -r
#由于repo中默认只开启stable仓库,故这里安装的是最新稳定版
sudo yum install docker-ce
sudo yum install <FQPN> # 例如:sudo yum install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
docker version
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。