• 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 Docker changing local IP?

JorgB

New Pleskian
Hi,

I am running Varnish in a docker container and thats working flawlessly accept that now and then the local ip address seems to change.. It started with 172.17.0.2 and now its at 172.17.0.4. This is a problem since cache won't get emptied for our application when it of course can't reach Varnish. How can I set a static ip for the docker? Or maybe by hostname?

Thanks,
Jorg
 
Last edited:
I guess I found a solution in just being able to use 127.0.0.1 by not using the 80 port but the external one.
 
Back
Top