• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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