You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I recently commented on #504 (comment) which has now been closed as the suggested fix was to use the com.centurylinklabs.watchtower.depends-on label for dependent containers. I have done this but unfortuantely this is still not working for me. Today my vpn container updated and a service which uses the vpn container for it's network, was initially not shut down but also not restarted again after the vpn image was updated. To solve this I have to destroy the dependent container and recreate it as the container ID of the vpn changes after an update.
As you can see below, I have both depends_on and the com.centurylinklabs.watchtower.depends-on label setup on the dependent container but there is nothing in the logs indicating that watchtower did anything with this containers.
Am I using the label wrong by any chance?
To Reproduce
Steps to reproduce the behavior:
Container A with dependency link to container B
Watchtower updates container B
Expected behavior
Container A should be stoppped
Container B should be updated and restarted
Container A should be restarted and connect to new container B
Docker Compose
Extract from docker compose file...
Describe the bug
I recently commented on #504 (comment) which has now been closed as the suggested fix was to use the com.centurylinklabs.watchtower.depends-on label for dependent containers. I have done this but unfortuantely this is still not working for me. Today my vpn container updated and a service which uses the vpn container for it's network, was initially not shut down but also not restarted again after the vpn image was updated. To solve this I have to destroy the dependent container and recreate it as the container ID of the vpn changes after an update.
As you can see below, I have both depends_on and the com.centurylinklabs.watchtower.depends-on label setup on the dependent container but there is nothing in the logs indicating that watchtower did anything with this containers.
Am I using the label wrong by any chance?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Docker Compose
Extract from docker compose file...
Logs from running watchtower with the
--debugoption