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

Support recursive read-only (RRO) mounts: nerdctl run -v /foo:/bar:rro,rprivate #511

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Nov 12, 2021

nerdctl run -v /foo:/bar:rro appends "rro,rprivate" (in addition to "ro") to the OCI mount option string slice.

Requires:

Or:

Older version of runc just ignores "rro" option.

The "rro" option string conforms to the proposal in:

@AkihiroSuda AkihiroSuda changed the title Support recursive read-only (RRO) mounts: nerdctl run -v /foo:/bar:rro Support recursive read-only (RRO) mounts: nerdctl run -v /foo:/bar:rro,rprivate Nov 15, 2021
@AkihiroSuda AkihiroSuda added this to the v0.14.0 milestone Nov 16, 2021
@AkihiroSuda AkihiroSuda marked this pull request as ready for review November 17, 2021 05:49
…ro,rprivate`

`nerdctl run -v /foo:/bar:rro,rprivate` appends "rro" (in addition to "ro") to the OCI mount option string slice.

Requires crun >= 1.4 or runc >= 1.1 (opencontainers/runc PR 3272).
Older version of runc just ignores "rro" option.

The "rro" option string conforms to the proposal in util-linux/util-linux Issue 1501.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda
Copy link
Member Author

Amended the commit to mention crun 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants