Prevent Stack Restart #155
-
I apologize if this is a dumb question, but I didn't see it mentioned in the documentation unless I'm just missing it. Is there a flag that will download the image updates but not restart the entire stack after each container image is updated? I use Docker Compose, so I would like DockCheck to download the image updates, then I can just run my Docker Compose command that will rebuild the containers with the new images. Then it'll only rebuild the ones that have an update. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
No dumb questions! So only containers chosen to update will be restarted (to use the newly downloaded image) - the rest of the stack or other containers will not be restarted. |
Beta Was this translation helpful? Give feedback.
I found my problem. I had labels on my containers and had your restart-stack label set to true. Even though I wasn't using -l, it was still seeing the label and restarting all the containers that had the label set.
I removed the labels and now it only restarted the container with an update.