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
The text was updated successfully, but these errors were encountered:
YuryHrytsuk
changed the title
[DOCUMENTATION] Why name field of secret is not documented docker compose specs?
[DOCUMENTATION] Why name field of secret is not documented?
Jan 28, 2025
@ndeloof as far as I understand, the change of name attribute will trigger automatic update of service relying on it. This can be used to update secrets (also configs) on running services which otherwise does not work "out of the box" (e.g. on docker stack deploy) (the official documentation on how to update docker configs with some manual actions)
Do you think it is worth documenting this behavior?
unfortunately change to name attribute will not update containers using docker compose
I can't tell about docker swarm, as this repo is about compose, and swarm is 100% a different codebase
Problem
I would expect to see the examples of using
name
field for dockersecrets
below:Related PRs
Why does it matter
I am currently trying to workaround the "immutability" of docker configs / secrets by using version-pinned
name
. Read more below:The text was updated successfully, but these errors were encountered: