命令:docker network create --subnet=172.18.0.0/16 mybridge
错误:Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-055cb9ec8554 -j RETURN: iptables: No chain/target/match by that name.
原因:因为我在docker启动之后启动firewalld服务,所以有这个错误。
解决办法,sudo systemctl restart docker命令来重启docker服务,再次运行命令。