Repository navigation
Add x- extensions to depends_on - #659
Merged
Merged
Conversation
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
ndeloof
approved these changes
Jul 9, 2024
ndeloof
added a commit
that referenced
this pull request
Oct 21, 2026
umask sets the initial file mode creation mask of the container's processes (entrypoint, exec and healthcheck), as proposed by #659 and made available by the engine in docker 29.8 (HostConfig.Umask, docker/cli#7108). The model keeps a *uint32 so that an explicit `umask: 0`, which masks no permission bit, stays distinct from an omitted or null umask, where the runtime default applies. A value is written like a YAML integer: a leading 0 or a 0o prefix makes it octal, so `077` and `0o77` are 63 while `77` is 77. Strings, including interpolated ones, are parsed the same way and rejected when they do not fit in 32 bits. The attribute belongs to the container specification, so it is accepted by services, jobs and pre_start init containers, and a pre_start step inherits the umask of its service. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add x-* extensions to
depends_onin compose-spec.fixes: docker/compose#11930
relates: https://docker.atlassian.net/browse/COMP-650