Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: document opts with --tmpfs #21676

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

dvdksn
Copy link
Collaborator

@dvdksn dvdksn commented Dec 20, 2024

Description

Setting options with --tmpfs is possible, but documentation said it wasn't. This patch adds descriptions on what the supported options are and how to set them.

Also noticed that docker inspect needs a different formatting template when inspecting a container where a mount was created with --tmpfs, versus a mount created with --mount type=tmpfs.

Related issues or tickets

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn requested review from thaJeztah and vvoland December 20, 2024 14:28
@github-actions github-actions bot added area/engine Issue affects Docker engine/daemon area/storage Relates to storage, volumes labels Dec 20, 2024
@dvdksn dvdksn requested a review from a team December 20, 2024 14:28
Copy link

netlify bot commented Dec 20, 2024

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit dc28d62
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67657eecf1fd91000888a989
😎 Deploy Preview https://deploy-preview-21676--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.

@dvdksn dvdksn merged commit 857b9af into docker:main Dec 20, 2024
14 checks passed
@dvdksn dvdksn deleted the tmpfs-default-mountopts branch December 20, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon area/storage Relates to storage, volumes status/review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The tmpfs documentation says nothing about noexec
3 participants