标签:repo 3.1 base centos system exp ble bit https
由于 Dokcer 需要 64bit OS, 版本号 3.10 或者更新的版本。所以,需要我们先确认我们的 CentOS 系统
$ uname -r
output :: 3.10.0-229.el7.x86_64
2.使用Yum 安装
2.1 更新 yum 到最新版本
$ yum update
yum
repo$ sudo tee /etc/yum.repos.d/docker.repo <<-‘EOF‘
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
$yum install docker-engine
$ systemctl enable docker.service
$ systemctl start docker
$ systemctl enable docke
Docker - Install docker on CentOS
标签:repo 3.1 base centos system exp ble bit https
原文地址:http://www.cnblogs.com/atuotuo/p/6255996.html