Rebuild attached container, after base container is rebuilt? #1273
-
|
Hopefully, my wording in the title isn't confusing. Let me try to explain two different container configurations that I have. vpn -> qbittorrent unbound -> pihole If I update the "vpn" container, "qbittorrent" cannot work because it's attached directly to the old container. I'll have to remove "qbittorrent", and then rebuild it, attaching it to the new container. I can update "qbittorrent" without having to rebuild "vpn". How can I make watchtower rebuild "qbittorrent" every time "vpn" is updated? I do not use docker-compose; I use docker run. Is this possible? Right now I have "vpn" set with a label telling watchtower to only monitor it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, using a |
Beta Was this translation helpful? Give feedback.
Yes, using a
depends-onlabel or--link vpn, see https://containrrr.dev/watchtower/linked-containers/