moby--moby/volume
Brian Goff d1c9e9cfe9 Ensure unmount before removing local volume.
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.

This ensures that resources are unmounted before attempting removal.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit db3576f8a0)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-05-04 13:56:32 -07:00
..
drivers sort volume drivers and auth plugins in info response 2017-02-01 12:01:49 +08:00
local Ensure unmount before removing local volume. 2017-05-04 13:56:32 -07:00
store Fix panic on error looking up volume driver 2017-04-04 09:22:01 -04:00
testutils test: fix trivial code convention noncompliance 2016-09-12 07:36:52 +00:00
validate.go validate mount path for tmpfs 2017-01-20 06:01:48 +00:00
validate_test.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
validate_test_unix.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
validate_test_windows.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume.go We need to fix labels if the user requests on volumes 2017-01-10 09:39:31 -05:00
volume_copy.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_copy_unix.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_copy_windows.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_linux.go Use container Mounts API for Swarm containers. 2016-11-22 13:23:51 -05:00
volume_linux_test.go api: fix ReadOnly support for tmpfs 2016-11-08 06:49:17 +00:00
volume_propagation_linux.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_propagation_linux_test.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_propagation_unsupported.go Add new `HostConfig` field, `Mounts`. 2016-09-13 09:55:35 -04:00
volume_test.go Windows: Fix old TP5 volume unit tests 2017-01-04 16:17:55 -08:00
volume_unix.go Add 'consistent', 'cached', and 'delegated' mode flags 2017-03-01 18:13:47 +00:00
volume_unsupported.go api: fix ReadOnly support for tmpfs 2016-11-08 06:49:17 +00:00
volume_windows.go Windows: Remove TP5 support from volume 2016-09-21 11:03:19 -07:00