-
Notifications
You must be signed in to change notification settings - Fork 28
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
qm.container: add tmpfs additional flags #727
base: main
Are you sure you want to change the base?
Conversation
Resolves: #723 Signed-off-by: Douglas Schilling Landgraf <[email protected]>
Reviewer's Guide by SourceryThis pull request adds support for additional flags when mounting a tmpfs volume in a container. This allows users to customize the tmpfs mount options beyond the default settings. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @dougsland - I've reviewed your changes - here's some feedback:
Overall Comments:
- Could you add a brief explanation of the new flags and how they might be used?
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
ReadOnlyTmpfs=false | ||
Mount=type=tmpfs,tmpfs-size=512M,destination=/tmp | ||
Mount=type=tmpfs,tmpfs-size=512M,destination=/run | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested it, we also need to add the following code:
Mount=type=tmpfs,destination=/dev/shm
otherwise the following issue will occur:
Error: failed to get new shm lock manager: failed to create 2048 locks in /libpod_lock: read-only file system
Resolves: #723
Summary by Sourcery
New Features: