‘docker0‘ already bound to a zone 问题解决

  • Post author:
  • Post category:其他


– [ ] 1.检查firewall-cmd中是否存在docker zone

`firewall-cmd –get-active-zones`

– [ ] 2 .如果“docker”区域可用,将接口更改为 docker0(非持久化)

`sudo firewall-cmd –zone=docker –change-interface=docker0`

– [ ] 3.如果“docker”区域可用,请将接口更改为 docker0  br0(持久化)

`sudo firewall-cmd –permanent –zone=docker –change-interface=docker0`

`sudo systemctl restart firewalld`



版权声明:本文为baidu_41627583原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。