1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--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
flags_linux.go
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
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
mountinfo_freebsd.go
mountinfo_linux.go
mountinfo_linux_test.go
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
sharedsubtree_linux_test.go
sharedsubtree_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00