-
Notifications
You must be signed in to change notification settings - Fork 596
config-linux: describe more about rootfs mount propagation #975
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
Conversation
wking
left a comment
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.
The new descriptions also talk about "nested containers", but don't define them. I think you want a sentence or two around your "peer group" definition to define "nested containers".
config-linux.md
Outdated
| Its value is either slave, private, shared or unbindable. | ||
| Its value is either `shared`, `slave`, `shared+slave`, `private` or `unbindable`. It's worth noting that a peer group is defined as a group of VFS mounts that propagate events to each other. | ||
|
|
||
| * `shared`: the rootfs mount belongs to a new peer group. This means that further mounts (e.g. nested containers) will also belong to that peer group and will propagate events to the rootfs. Note this does not mean that it's shared with the host. |
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.
nits: these should use four-space indents (#495), and use new lines for each sentence.
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.
@wking Good to know. Thanks!
a8386c6 to
840d343
Compare
Section of rootfs mount propagation modes should include more descriptions about each propagation mode as well as its actual meaning in the real world. Since the shared subtrees document in the Linux Kernel is not exactly readable for ordinary users, we should elaborate more on this topic in the runtime-spec. Fixes opencontainers#973 Suggested by @alban, @iaguis Signed-off-by: Dongsu Park <dongsu@kinvolk.io>
|
@wking Updated. |
|
@vbatts |
Section of rootfs mount propagation modes should include more descriptions about each propagation mode as well as its actual meaning in the real world.
Since the shared subtrees document in the Linux Kernel is not exactly readable for ordinary users, we should elaborate more on this topic in the runtime-spec.
Fixes #973
Suggested by @alban, @iaguis
Signed-off-by: Dongsu Park dongsu@kinvolk.io