Tag Archives: Dockers port mapping error

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.

dockers port mapping error:

/usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity on endpoint test (379fd5245e03cfe8ad06a22184a7bdb8c58c40d70702f3fb0dd231f6b77f2c38): (iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0 dport 1521 -j DNAT –to-destination 172.18.0.4:1521! -i docker0: iptables: No chain/target/match by that name. (exit status 1)).

Solution:
custom chain DOCKER defined when the docker service starts is cleared and
restartedsystemctl restart docker