Docker容器启动报错:ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule 解决办法
问题描述docker-compose up -d 启动容器时报错:ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:(iptables failed: iptables --wait -t nat -I DOCKER -i br-2acd1c59bwud -j RETURN: iptables: No chain/t
·
问题描述
docker-compose up -d 启动容器时报错:ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-2acd1c59bwud -j RETURN: iptables: No chain/target/match by that name.
原因分析
Docker属于容器化技术,如果宿主机防火墙的状态发生了改变,Docker就无法设置容器的IP了
解决办法
输入命令service docker restart
重启以下Docker即可
service docker restart
更多推荐
已为社区贡献4条内容
所有评论(0)