按顺序执行以下命令:


nmcli connection modify docker0 connection.zone trusted
systemctl stop NetworkManager.service
firewall-cmd --permanent --zone=trusted --change-interface=docker0
systemctl start NetworkManager.service
nmcli connection modify docker0 connection.zone trusted
systemctl restart docker.service

 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐