docker 删除容器并重新运行容器时报如下异常:
docker: Error response from daemon: failed to create endpoint tomcat001 on network bridge: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -A DOCKER -p tcp -d 0/0 --dport 8090 -j DNAT --to-destination 172.17.0.3:8080 ! -i docker0' failed: iptables: No chain/target/match by that name..
重启docker即可:
systemctl restart docker
时间: 2024-10-15 05:46:48