moby/pkg/mount
Steven Hartland b3b14b97b1 Fix linux mount calls not applying propagation type changes
Propagation type changes must be done as a separate call, in the
same way as read only bind mounts.

To fix this:
1. Ensure propagation type change flags aren't included in other calls.
2. Apply propagation type change in a separate call.

Also:
* Make it clear which parameters are ignored by passing them as empty.
* Add tests to ensure Mount options are applied correctly.

Fixes #30415

Signed-off-by: Steven Hartland <steven.hartland@multiplay.co.uk>
2017-02-15 14:15:09 +00:00
..
flags.go Inconsistent --tmpfs behavior 2016-05-26 19:28:18 -07:00
flags_freebsd.go Add documentation for exported functions and types 2015-04-03 11:33:34 +02:00
flags_linux.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
flags_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mount.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mount_unix_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
mounter_freebsd.go Support FreeBSD on pkg/mount 2014-04-15 23:16:51 +09:00
mounter_linux.go Fix linux mount calls not applying propagation type changes 2017-02-15 14:15:09 +00:00
mounter_linux_test.go Fix linux mount calls not applying propagation type changes 2017-02-15 14:15:09 +00:00
mounter_solaris.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mounter_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mountinfo.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_freebsd.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_linux.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_linux_test.go *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
mountinfo_solaris.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mountinfo_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mountinfo_windows.go Windows: Fix mountinfo 2016-03-21 22:03:24 -07:00
sharedsubtree_linux.go fix variables that werent being called 2016-03-17 13:19:55 -07:00
sharedsubtree_linux_test.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
sharedsubtree_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00