关闭防火墙和selinux systemctl stop firewalld sed -i 's/SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux 安装docker 官方文档:https://docs.docker.com/v18.09/install/linux/docker-ce/centos/ yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config…