感谢支持
我们一直在努力

CentOS 6/7系列安装Docker

CentOS

The Docker package is available via the EPEL repository. These instructions work for CentOS 6 and later. They will likely work for other binary compatible EL6 distributions such as Scientific Linux, but they haven’t been tested.

Please note that this package is part of Extra Packages for Enterprise Linux (EPEL), a community effort to create and maintain additional packages for the RHEL distribution.

Also note that due to the current Docker limitations, Docker is able to run only on the 64 bit architecture.

To run Docker, you will need CentOS6 or higher, with a kernel version 2.6.32-431 or higher as this has specific kernel fixes to allow Docker to run.

 使用EPEL软件仓库可以安装docker,版本必须在centos6 以后

如果是centos7

下载并安装这个软件包

wget http://mirror.hust.edu.cn/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

rpm -ivh

epel-release-7-0.2.noarch.rpm

如果是centos6

wget http://mirrors.hustunique.com/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -ivh

epel-release-6-8.noarch.rpm

yum install docker-io 用上面这个命令安装就可以了

如果之前的系统中存在docker这个软件,最好先删除掉这个包,一个老旧的包

$ service docker start

$ chkconfig docker on

 

Docker的搭建Gitlab CI 全过程详解 http://www.linuxidc.com/Linux/2013-12/93537.htm

Docker安装应用(CentOS 6.5_x64) http://www.linuxidc.com/Linux/2014-07/104595.htm

Docker 和一个正常的虚拟机有何区别? http://www.linuxidc.com/Linux/2013-12/93740.htm

在 Docker 中使用 MySQL http://www.linuxidc.com/Linux/2014-01/95354.htm

Docker 将改变所有事情 http://www.linuxidc.com/Linux/2013-12/93998.htm

Docker安装应用(CentOS 6.5_x64) http://www.linuxidc.com/Linux/2014-07/104595.htm

Docker 的详细介绍:请点这里
Docker 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-08/105655.htm

赞(0) 打赏
转载请注明出处:服务器评测 » CentOS 6/7系列安装Docker
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏