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:
$ source .env && docker compose -p $COMPOSE_PROJECT_NAME -f docker-compose-dev.yml up
error while interpolating services.repoman.secrets.[].mode: failed to cast to expected type: strconv.Atoi: parsing "0o400": invalid 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