ZONE_CONFLICT: ‘docker0‘ already bound to a zone
无法启动docker,sudo journalctl -u docker.service查到报"ZONE_CONFLICT: 'docker0' already bound to a zone"。查看防火墙配置:sudo firewall-cmd --list-all-zones看到trusted (active)target: ACCEPTicmp-block-inversion: nointe
·
无法启动docker,
sudo journalctl -u docker.service
查到报"ZONE_CONFLICT: 'docker0' already bound to a zone"。
查看防火墙配置:
sudo firewall-cmd --list-all-zones
看到
trusted (active)
target: ACCEPT
icmp-block-inversion: no
interfaces: docker0
sources:
services:
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
这是错误配置防火墙引起
sudo firewall-cmd --zone=trusted --remove-interface=docker0 --permanent
#解决方法,从信任区删除docker0
sudo firewall-cmd --get-zone-of-interface=docker0
sudo firewall-cmd --reload
启动服务并检查服务状态
sudo systemctl start docker.service
sudo systemctl status docker.service
更多推荐
已为社区贡献8条内容
所有评论(0)