Octal format for mode: "0o400"
does not work for docker compose v2.26.1-desktop.1
#22590
Open
1 task done
Labels
area/compose
Relates to docker-compose.yml spec or docker-compose binary
Is this a docs issue?
Type of issue
Information is incorrect
Description
The example at https://docs.docker.com/compose/how-tos/use-secrets/ uses
mode: "0o400"
to set the mode of a/run/secrets/foo
file, but on Fedora 41, docker compose v2.26.1-desktop.1 hates this syntax:Of course the goal is to put an octal number here, but it's not clear to me that
strconv.Atoi("0400")
is doing the right thing either?Location
https://docs.docker.com/reference/compose-file/services/
Suggestion
No response
The text was updated successfully, but these errors were encountered: