`Error response from daemon: driver failed programming external connectivity on endpoint ... iptables: No chain/target/match by that name`
IntermediateTroubleshootingDaemon, install and permissions
Answer
Likely causes → The DOCKER iptables chain was flushed (firewalld/ufw reload, iptables -F).
Diagnose → iptables -t nat -L DOCKER -n (chain missing).
Fix → sudo systemctl restart docker to recreate chains.
Prevent → Do not flush iptables on Docker hosts; reload firewalld then restart Docker, or put custom rules in DOCKER-USER.
More on Daemon, install and permissions
`Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`Beginner`permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock`Beginnerdockerd fails to start after editing `daemon.json`: `unable to configure the Docker daemon with file /etc/docker/daemon.json`Intermediate`docker: command not found` right after installing Docker Desktop on macOS.Beginner`docker info` shows `WARNING: bridge-nf-call-iptables is disabled`IntermediateDocker service flaps with `failed to start daemon: Error initializing network controller: ... iptables failed`Intermediate