Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Default bind mounts to rshared not rprivate if not specified #210

Merged
merged 1 commit into from
Apr 4, 2018

Conversation

justincormack
Copy link
Collaborator

It is quite confusing that from the host or another container that
binds /containers you cannot see the bind mounts, you have to enter
the container namespace. I think rshared is a better default. You
can always be explicit and add private if you want a private bind mount.

Signed-off-by: Justin Cormack justin.cormack@docker.com

It is quite confusing that from the host or another container that
binds `/containers` you cannot see the bind mounts, you have to enter
the container namespace. I think `rshared` is a better default. You
can always be explicit and add `private` if you want a private bind mount.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
@justincormack justincormack merged commit f1ae82c into moby:master Apr 4, 2018
@justincormack justincormack deleted the bind-shared branch April 4, 2018 17:54
justincormack added a commit to justincormack/linuxkit that referenced this pull request Apr 4, 2018
This only includes moby/tool#210 which
makes bind mounts into containers rshared not rprivate by default,
which makes debug easier as you can see them from the host.

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants