Error when you start docker container

Error message:

iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 9300 -j DNAT --to-destination 172.17.0.2:9300 ! -i docker0: iptables: No chain/target/match by that name

 

Solution: Restart docker

systemctl restart docker

 

Before deleting command has created a container, the container has been created query: Docker PS -a

Delete to create a container: Docker RM container Id

Then restart the container can be.

Guess you like

Origin www.cnblogs.com/ming-blogs/p/11184782.html