Skip to content

Restart a group of containers within a docker stack if one container is updated #265

@HeyItsJono

Description

@HeyItsJono

I was just hoping to get some advice on if what I want to do is possible with DockCheck.
I run the *arr suite of containers (Radarr, Sonarr, etc) which are routed via Gluetun, a VPN tunnel container.
They all depend on Gluetun because they use it as a network, when it goes down or restarts, unless they are also restarted they lose internet connectivity.
They are all defined in one big docker compose file which also defines many containers that aren't routed through the Gluetun network.

Currently I use DockCheck to update containers on a nightly basis, including Gluetun.
If DockCheck updates Gluetun and one of the *arr containers (e.g. Radarr), then Radarr and Gluetun will continue to work normally since they both have been restarted.
However all the containers which did not receive an update but are routed through the Gluetun network then lose internet connectivity until I manually figure out they've gone down and restart them.

Is there any way to define a group of containers that should all be restarted if one of their dependencies is updated and restarted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions