-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to reload env_file for a specific container #4140
Comments
You would need to do |
I gave that a shot, but it seems like a bit of a destructive path for just reloading an env_file:
I understand that's caused by the docker-compose |
@joaquincasares Can you try these and see if it helps ? |
(as of 1.12.5) I think the
Based on So when you run,
Hope that helps! I've been wrestling with a similar problem most of today :) |
When a container is recreated the containers that depend on it are recreated as well, which is the behavior you want in most cases. |
Hello,
I'm not sure if this task is something that compose can handle alone, or if I also need to create a ticket against the docker project, but I figured to start here.
My use case is:
docker-compose up
.If I try:
docker-compose [stop|kill] web
docker-compose start web
I still get my original envars that were in place at the time of
docker-compose up
.How can I reload my web container to consume the updated env_file without having to do a full shutdown via
docker-compose down
?Thanks for any help and guidance!
The text was updated successfully, but these errors were encountered: