Skip to content

Make the root fs private when the host root is not shared. - #13849

Closed
calavera wants to merge 1 commit into
moby:masterfrom
calavera:private_root_fs
Closed

calavera wants to merge 1 commit into
moby:masterfrom
calavera:private_root_fs

Conversation

@calavera

Copy link
Copy Markdown
Contributor

This turns container creation to the default behavior that we had in Docker <= 1.6 when the root is not shared.

See docker-archive/libcontainer@907c7c1 for the change between 1.6 and 1.7.

As discussed in #13775 (comment)

Signed-off-by: David Calavera [email protected]

@vbatts

vbatts commented Jun 10, 2015

Copy link
Copy Markdown
Contributor

also, there is github.com/docker/docker/pkg/mount with GetMounts() and the MountInfo struct.
Rather than just doing a string.Contains()

@calavera

Copy link
Copy Markdown
Contributor Author

@vbatts what do you mean? That's what I'm using, Mountinfo.Ops is a string with the options. I haven't seen any way to get the different options from the info.

@vbatts

vbatts commented Jun 10, 2015

Copy link
Copy Markdown
Contributor

oh shit. I looked too fast.

<3

@crosbymichael

Copy link
Copy Markdown
Contributor

We are going to revert this change for now.

@calavera
calavera deleted the private_root_fs branch August 6, 2015 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants