Docker containers do port mapping error
docker: Error response from daemon: driver failed programming external connectivity on endpoint lamp3 (46b7917c940f7358948e55ec2df69a4dec2c6c7071b002bd374e8dbf0d40022c): (iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 86 -j DNAT –to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
Solution
The custom chain DOCKER defined at the start of the docker service is cleared
Just restart systemctl restart dockersystemctl restart docker
Similar Posts:
- [Solved] Docker Port Mapping or Container Startup Error: Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen
- Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen
- Driver failed programming external connectivity on endpoint query_allen
- Error response from daemon: driver failed programming external connectivity on endpoint test: (iptables failed: iptables –wait -t nat -A DOCKER…: No chain/target/match by that name.
- Docker’s error response from daemon [How to Solve]
- [Solved] Docker Container Start Error: iptables: No chain/target/match by that name
- Docker run error: docker0: iptables: No chain/target/match by that name.
- ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
- Linux Script Example: iptables-nat.sh
- [Solved] MYSQL ERROR 2003 (HY000): can’t connect to MySQL server (10060)