Skip to content

Conversation

@dvdksn
Copy link
Contributor

@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
@netlify
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