Docker CE is supported on CentOS 7.3 64-bit.
说明docker只能安装在centOS7以上
[root@hadoop-bigdata01 ~]# yum install -y yum-utils [root@hadoop-bigdata01 ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo [root@hadoop-bigdata01 ~]# yum makecache fast [root@206 ~]# yum -y install docker-ce [root@206 ~]# systemctl start docker
centOS7关闭防火墙
[root@206 ~]# systemctl stop firewalld.service
centOS7禁止开启启动防火墙
[root@206 ~]# systemctl disable firewalld.service
查看防火墙状态
[root@206 ~]# firewall-cmd --state