Merge pull request #13854 from crosbymichael/revert-shared-root
Revert shared container rootfs
This commit is contained in:
commit
9da65ed84f
|
@ -24,6 +24,7 @@ func InitContainer(c *Command) *configs.Config {
|
||||||
container.Devices = c.AutoCreatedDevices
|
container.Devices = c.AutoCreatedDevices
|
||||||
container.Rootfs = c.Rootfs
|
container.Rootfs = c.Rootfs
|
||||||
container.Readonlyfs = c.ReadonlyRootfs
|
container.Readonlyfs = c.ReadonlyRootfs
|
||||||
|
container.Privatefs = true
|
||||||
|
|
||||||
// check to see if we are running in ramdisk to disable pivot root
|
// check to see if we are running in ramdisk to disable pivot root
|
||||||
container.NoPivotRoot = os.Getenv("DOCKER_RAMDISK") != ""
|
container.NoPivotRoot = os.Getenv("DOCKER_RAMDISK") != ""
|
||||||
|
|
Loading…
Reference in New Issue