Skip to content

compose: document tmpfs mount options and defaults - #26798

Open
het-khatusuriya wants to merge 1 commit into
docker:mainfrom
het-khatusuriya:compose-tmpfs-options
Open

het-khatusuriya wants to merge 1 commit into
docker:mainfrom
het-khatusuriya:compose-tmpfs-options

Conversation

@het-khatusuriya

@het-khatusuriya het-khatusuriya commented Nov 28, 2026 •

Copy link
Copy Markdown

Description

The tmpfs section of the container specification only listed mode, uid and gid, and gave no defaults. Compose passes the options string unchanged to the Engine, so the same options as docker run --tmpfs apply (ro, noexec, size, and so on).

This adds a short table of the common options with their defaults (the Engine mounts tmpfs with noexec,nosuid,nodev unless overridden), links to the full --tmpfs option list on the Engine storage page, and extends the example.

Related issues or tickets

Fixes #26791

Reviews

  • Technical review
  • Editorial review

@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 259e6af
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b0b0db114836baa85b64689
😎 Deploy Preview https://deploy-preview-26798--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 project configuration.

@github-actions github-actions Bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Nov 28, 2026

This branch has not been deployed

No deployments
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.

Compose tmpfs documentation

1 participant