Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example on how 'depends-on' works in the documentation #1717

Open
Ezwen opened this issue Aug 6, 2023 · 0 comments
Open

Add example on how 'depends-on' works in the documentation #1717

Ezwen opened this issue Aug 6, 2023 · 0 comments

Comments

@Ezwen
Copy link

Ezwen commented Aug 6, 2023

Is your feature request related to a problem? Please describe.

I find the current documentation for the depends-on label not very clear. It does tell me that I can use the depends-on label to create links between containers, but it does not tell me precisely the "direction" of the link I am creating: is it "I depend on this other container" or is it "This other container depends on me"?

Describe the solution you'd like

I would suggest to add a complete small example in the documentation, such as:

  • We create a container A
  • We create a container B with a label com.centurylinklabs.watchtower.depends-on equals to B
  • Here are the actions happening when watchtower upgrades A
  • Here are the actions happening when watchtower upgrades B

Describe alternatives you've considered

I don't have any.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant