Preserve container IP address OR restart all containers in the same network #1416
Unanswered
m-khvoinitsky
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a problem: sometimes (or always?) updated containers have different IP addresses than prior to update and restart. This causes some compose services to fail because their neighbor containers has their previous IP cached. The example (and some proposed workarounds) are described in #186.
The proposed solution is setting nginx resolver ttl to 1 second is not great because in some cases nginx config is baked into an image and you can't easily change it. And after all, disabling cache may harm performance.
So the questions are:
Beta Was this translation helpful? Give feedback.
All reactions