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
From Plesk interface:
-
Go to Tools & Settings > Scheduled Tasks > Add Task.
Fill the fields as below:
Task type Run a command
Command /sbin/service docker restart -
 Select Run Now
Click on a section to expand
From SSH access to a server
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