containerd/cmd
Ian Campbell 8b365117a2 containerd-shim: Do not remount root MS_SLAVE
Mounting as MS_SLAVE here breaks use cases which want to use
rootPropagation=shared in order to expose mounts to the host (and other
containers binding the same subtree), mounting as e.g. MS_SHARED is pointless
in this context so just remove.

Having done this we also need to arrange to manually clean up the mounts on
delete, so do so.

Note that runc will also setup root as required by rootPropagation, defaulting
to MS_PRIVATE.

Fixes #1132.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-07-20 10:50:08 +01:00
..
containerd cmd/containerd: show version and revision on startup 2017-07-17 16:57:32 -07:00
containerd-shim containerd-shim: Do not remount root MS_SLAVE 2017-07-20 10:50:08 +01:00
ctr cmd/ctr: add mount subcmd to snapshot & a flag in prepare 2017-07-19 14:47:35 +05:30
protoc-gen-gogoctrd protos: remove need for customname on ID fields 2017-05-18 18:50:59 -07:00