@[TOC](Docker start nginx error: Error response from daemon: driver failed programming external connectivity on endpoint nginx (6307a83f775bf316440e9b843841d808a84dded1b805b204484e41a73835f24a): (iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 80 -j DNAT –to-destination 172.17.0.6:80 ! -i docker0: iptables: No chain/target/match by that name.)
Problem Background
When starting nginx using docker, an error is reported
[root@localhost conf.d]# docker start nginx
Error response from daemon: driver failed programming external connectivity on endpoint nginx (6307a83f775bf316440e9b843841d808a84dded1b805b204484e41a73835f24a): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.17.0.6:80 ! -i docker0: iptables: No chain/target/match by that name.
Solution:
1. Before starting the nginx of docker, the firewall was closed, which led to an error in the link. You can restart docker to re-establish the link
systemctl restart docker
Restart nginx
docker start nginx
Read More:
- [Solved] Docker Error: driver failed programming external connectivity on endpoint
- [Solved] Docker Error: Error response from daemon: driver failed programming external connectivity on endpoint
- [Solved] docker: Error response from daemon: driver failed programming external connectivity on endpoint mysql-test …
- Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen is reported when docker port mapping or starting the container
- Docker Create or Start Nginx Error: docker: Error response from daemon: driver failed programming external connectivity
- [Solved] Docker: Error response from daemon: driver failed programming external connectivity on endpoint mysq
- [Solved] ERROR: for jms_koko Cannot start service koko: driver failed programming
- [Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code
- Nginx Container Error: nginx: [emerg] mkdir() “/var/cache/nginx/client_temp“ failed (13: Permission denied)
- [Solved] Docker Start Error: iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 10241
- [Solved] Docker failed to start daemon: error initializing graphdriver: driver not supported
- Gitlab nginx wont start to work. [down: nginx: 1s, normally up, want up; run: log: (pid 20128)xxx]
- [Solved] MAC Nginx Error: ginx.pid“ failed (2: No such file or directory)
- [Solved] Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”:
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- An error occurred: Sorry,Faithfully yours, nginx Error
- [Solved] Nginx Request 500 Error: CreateFile() “/temp/client_body_temp/0000000013” failed (5: Access is denied)
- How to Solve Nginx 413 Error (request entity too large)
- Windows: Nginx configuration error GetFileAttributesEx
- [Solved] CentOS build a docker error: job for docker.service failed….