centos 6.9 install docker

1. Check the system specific version

yum install lsb -y

lsb_release -a

2. Install the yum source

yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
 

3. Install docker

yum install docker-io
 

Installation failed: 
Loaded plugins: fastestmirror , Security 
set up the installation process 
Loading Mirror SPEEDS from cached hostfile 
 * Base: mirrors.huaweicloud.com 
 * ELRepo: mirrors.tuna.tsinghua.edu.cn 
 * EPEL: mirrors.huaweicloud.com 
 * Extras: mirrors.aliyun.com 
 * the Updates: mirrors.huaweicloud.com 
. No Package Penalty for Docker-IO the Available 
 

solutions: 

yum install https://get.docker.com/rpm/ 1.7.1 / CentOS-6 / RPMS / x86_64 / Docker 1.7.1-1--engine .el6.x86_64.rpm 
 
--------------------- 
Disclaimer: This article is the main "stooges of Lee" CSDN blog original article, follow the CC 4.0 by-SA copyright agreement, reproduced, please attach the original source link and this statement. 
Original link: HTTPS: //blog.csdn.net/huishoudezailai/article/details/ 90,173,126

 

4. View docker version

docker version

 

 

5. Start docker Service

service docker start

 

 

Note: turn off the use of docker: docker STOP Service
---------------------
Disclaimer: This article is CSDN blogger "Lie vip" in the original article, follow the CC 4.0 by-sa copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/qq_33792843/article/details/82844221

 

Guess you like

Origin www.cnblogs.com/bigben0123/p/11350200.html