Centos7在线安装Docker
1.关闭防火墙和selinux
systemctl stop firewalld
vi /etc/selinux/config
将enforcing改为disabled
2.若无wget命令,需安装
yum install -y wget
3.从清华镜像站下载docker社区版yum源
[root@localhost test]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]