Install docker on CentOs
文章目录
Install docker on CentOs 6.x
Docker 的安装环境是对内核有要求的,官方也是建议 2.6.32-431 或者更高版本
安装EPEL的仓库
1 | rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm |
更新lib 包
yum update -y
安装
yum -y install docker-io
启动docker进程
service docker start
Install docker on CentOs 7.x
安装
yum install docker
关闭防火墙
systemctl stop firewalld
summary
docker installation is simple !!