opencontainers / runtime-spec

OCI Runtime Specification
http://www.opencontainers.org
Apache License 2.0
3.19k stars 541 forks source link

config: clarify Linux mount options #1181

Closed AkihiroSuda closed 1 year ago

AkihiroSuda commented 1 year ago

The former wording was inconsistent with runc, crun, youki, etc.

Several mount(8) options such as X-mount.mode are unimplemented in those OCI runtimes, and vice versa (tmpcopyup, rro, etc.)

The option table added in this commit conforms to runc 1.1, but acl and noacl are excluded as the runc implementation seems wrong. (runc issue: https://github.com/opencontainers/runc/issues/3738)

AkihiroSuda commented 1 year ago

It's very verbose, but I think that's fair 👍 (and appreciate the clear effort that's gone into making sure it's as terse as it can reasonably be while still being clear)

Thanks, can we merge this too, so that higher-level engines can detect the supported mount options ?