Skip to content

Conversation

@dniwelive
Copy link

Description

Here I provide changes in public docs. I think, there is a mistake in mode. At least, "0o444" didn't work for my compose file.

Related issues or tickets

N/A

Reviews

  • Technical review
  • Editorial review
  • Product review

@github-actions github-actions bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Mar 23, 2025
@netlify
Copy link

netlify bot commented Mar 23, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a75f41b
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67e05599c5b08100082fbf9b
😎 Deploy Preview https://deploy-preview-22295--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@aevesdocker
Copy link
Contributor

Hi @dniwelive, the docs are correct.

In YAML 1.2 the 0o prefix clearly signals octal, just like in modern Python or JavaScript.
This removes any confusion with normal decimal numbers or strings with leading zeroes.

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

Labels

area/compose Relates to docker-compose.yml spec or docker-compose binary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants