Applicable to:
- Plesk for Linux
Symptoms
-
When starting Docker container the following error occurs:
PLESK_ERROR: Erro: {"message":"driver failed programming external connectivity on endpoint laravel-nginx (f64a903c12baaeff1fcc87a41272445555d97e05f49f45b5fbc1d2a1c695f373): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 192.0.2.2 --dport 9000 -j ACCEPT: iptables: No chain/target/match by that name.\n (exit status 1))"}
Cause
Docker firewall misconfiguration.
Resolution
Click on a section to expand
-
Go to Tools & Settings > Scheduled Tasks > Add Task.
Fill the fields as below:
CONFIG_TEXT: Task type Run a command
Command /sbin/service docker restart -
Select Run Now
Click on a section to expand
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance
-
Connect to the server via SSH;
-
Restart docker service:
# service docker restart
Comments
2 comments
hello,
I do not leave containers in docker, I checked the above but nothing, the container is created but remains in stopped, use plesk in cents 7 64bit on aws, what can I check?
@Michele Negrini,
Can you clarify, what the error appears while you starting the container from Plesk>Extensions>Docker>%Image name% (See the screenshot attached)? Is it iptables failed?
Please sign in to leave a comment.