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

Commits on Nov 17, 2021

  1. Support recursive read-only (RRO) mounts: `nerdctl run -v /foo:/bar:r…

    …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 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    c103287 View commit details
    Browse the repository at this point in the history