CentOS modified source 163 and the source and designation epel mounting Docker

CentOS modified source 163 and the source and designation epel mounting Docker

Address: http://mirrors.163.com/.help/centos.html

Instructions for use

First, backup /etc/yum.repos.d/CentOS-Base.repo

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

Download the corresponding version repo file into /etc/yum.repos.d/ (please make the appropriate backup before proceeding)

CentOS5

CentOS6

Run yum makecache generate cache

apple 源:

rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm

docker installation:

You will need RHEL 6.5 or higher, with a RHEL 6 kernel version 2.6.32-431 or higher as this has specific kernel fixes to allow Docker to work.

CentOS 6.5 is already 2.6.32-431 kernel, so it is best to install this version.

yum -y install docker-io

Upgrade: yum -y update docker-io

Manual upgrade:

wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker

mv -f docker /usr/bin/docker

update completed

start up:

service docker start

boot:

chkconfig docker on

CentOS 6/7 Series Installation Docker http://www.linuxidc.com/Linux/2014-07/104768.htm

Docker to build Gitlab CI whole process detailed http://www.linuxidc.com/Linux/2013-12/93537.htm

Docker install the application (CentOS 6.5_x64) http://www.linuxidc.com/Linux/2014-07/104595.htm

What Docker and a normal virtual machine difference? Http://www.linuxidc.com/Linux/2013-12/93740.htm

Using MySQL in Docker in http://www.linuxidc.com/Linux/2014-01/95354.htm

Docker will change everything http://www.linuxidc.com/Linux/2013-12/93998.htm

Docker install the application (CentOS 6.5_x64) http://www.linuxidc.com/Linux/2014-07/104595.htm

Details of Docker: click here
Download Docker's: click here

For more information, see CentOS CentOS topic page http://www.linuxidc.com/topicnews.aspx?tid=14

This article permanently updated link address: http://www.linuxidc.com/Linux/2014-09/106671.htm

Guess you like

Origin blog.csdn.net/qq125281823/article/details/87211839