Centos6.8安装Docker
Centos 6.8 安装Docker
Centos6.8 下Docker安装手顺[备忘]
# 需要安装epel
yum install -y epel-release
# 安装docker
yum install -y docker-io
# [备用] 如果找不到包,则通过下面这条命令安装
yum install https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm
# 启动docker
service docker start
# 查看docker版本
docker version