Repository navigation
Docker Compose Jobs and Watchtower #2526
nicholas-fedor
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The release of Docker Compose v5.6.0 introduced partial support for Compose-managed jobs.
From what I have gathered so far, it appears that this functionality will eventually allow users to implement manually-triggered or scheduled single-run container runs. As an example, this would change the deployment profile of Watchtower to be run via "run-once" mode rather than as a persistent service. I have seen that "depends-on" support is also being included in this functionality, so a volume backup job could be configured, with Watchtower depending upon a successful backup job (resolving concerns such as those illustrated by #2105).
Here's a rough approximation of the above scenario:
As I mentioned earlier, this is still under development and preliminary, but it's definitely worth keeping an eye on.
All reactions