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

Update getting-started.md #686

Merged
merged 2 commits into from
Jan 21, 2024
Merged

Update getting-started.md #686

merged 2 commits into from
Jan 21, 2024

Conversation

petermichaux
Copy link
Contributor

Add information about adding a volume mount to a privileged container.

Add information about adding a volume mount to a privileged container.

Signed-off-by: Peter Michaux <[email protected]>
@stgraber
Copy link
Member

@petermichaux looks good, just one small note that could make those instructions slightly simpler.

You can add "create=dir" or "create=file" to the mount options in "lxc.mount.entry" so that the mount target gets automatically created for you, saving the mkdir inside the container step.

add description for creating the mount with `create=dir` mount option

Signed-off-by: Peter Michaux <[email protected]>
@petermichaux
Copy link
Contributor Author

@stgraber Thanks. That is easier. I can see that being an especially helpful technique if adjusting /etc/lxc/default.conf before ever creating the container.

@stgraber stgraber merged commit c89bc78 into lxc:main Jan 21, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants