安装软件包 yum install docker 开启路由转发/etc/sysctl.conf net.ipv4.ip_forward=1 启动服务后会看到设备 systemctl enable dockersystemctl start dockersysctl -p