Error process
When starting the docker container nginx, it cannot be started and always reports an error, as shown in the figure below
After reset gateway, iptables are activated, docker chain Settings are not updated!
The solution
Restart the Docker service to cause the latest Settings to be added to iptables.
systemctl restart docker
When you look at the iptables rule, the docker chain has been reset
iptables -L
iptables -t nat -L
Read More:
- Driver failed programming external connectivity on endpoint quirky_ allen
- Centos7 quick installation of docker and configuration of image acceleration
- linux docker Error Failed to get D-Bus connection: Operation not permitted
- Error response from daemon: Conflict. The container name “/mysql is already in use by container
- Frequently asked questions about docker
- Docker starts the image and reports an error. Iptables failed: iptables — wait – t NAT – a docker – P TCP
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- CentOS7 nginx Failed to read PID from file /run/nginx.pid: Invalid argument?
- docker: Error response from daemon: driver failed programming external connectivity on endpoint
- Docke Run: response from daemon: OCI runtime create failed: container with id exists:XXX:unknown
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- Docker service start, restart, close command
- Failed to start docker.service : unit not found
- NVIDIA docker failed to start normally
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Failed to get D-Bus connection: No such file or directory
- Error! Failed to start nginx
- The solution of centos7’s inaccessibility after installing nginx
- Remote sshd prompt: server unexpectedly closed network connection
- When docker starts tomcat, the access port of the container displays 404, and the source server fails to find the representation of the target resource or is unwilling to disclose an existing one