運(yùn)行yum makecache生成緩存
eple源:
rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
docker 安裝:
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已經(jīng)是2.6.32-431內(nèi)核了,所以最好安裝這個(gè)版本。
yum -y install docker-io
升級(jí):yum -y update docker-io
手動(dòng)升級(jí):
wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker mv -f docker /usr/bin/docker
升級(jí)完成
啟動(dòng):
service docker start
開(kāi)機(jī)啟動(dòng):
chkconfig docker on