• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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