• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved I can not create Varnish docker instance in Plek / iptables error

Émerson Felinto

Regular Pleskian
I went to my Plesk in the docker section and started the image "million12 / varnish".
Before running the image I have the option to set which ports this Docker instance will have access to.
varnish-docker-plesk-port-mapping-1-1024x521.png


However when trying to run I get the following error.
{"message":"driver failed programming external connectivity on endpoint varnish (dd04c8b5a888a82c55798134e873e7148d2b933809a74c37a42e4d22da50a6ba): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 80 -j ACCEPT: iptables: No chain/target/match by that name.\n (exit status 1))"}

What does it mean and how can I solve it?
 
it means that you can't have two process listening on the same port...
guess who's listening on port 80 already?
 
I think he's mapping the Docker container Port 80 to 32780....

Assuming you have nothing bound to that public port, I'd check for updates to Docker... Could be a bug.
 
Replicated, and fixed (Centos 7)

# sudo mv /var/lib/docker/network/files/ /tmp/dn-backup
# sudo systemctl restart docker
 
Last edited:
It basically installs a CLI version of a game called Snake which was made popular by Nokia back in the 90s.
 
Last edited:
Replicated, and fixed (Centos 7)

# sudo mv /var/lib/docker/network/files/ /tmp/dn-backup
# sudo systemctl restart docker

Makes a backup of network related docker config files (by moving them to a temporary directory) and then restarts the docker service.
But I guess it needs a
Code:
mkdir /tmp/dn-backup
first, no?


But enough giggles, where are the commands for this super awesome "snake" game you are talking about?!
 
Makes a backup of network related docker config files (by moving them to a temporary directory) and then restarts the docker service.
But I guess it needs a
Code:
mkdir /tmp/dn-backup
first, no?


But enough giggles, where are the commands for this super awesome "snake" game you are talking about?!

Is there a CLI version of snake? I’d be down if there was
 
Back
Top