1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster/executor/container
Sebastiaan van Stijn 84d5ab96ef
fix validation of non-existing bind-mount source
Unlike `docker run -v..`, `docker service create --mount`
does not allow bind-mounting non-existing host paths.

This adds validation for the specified `source`, and
produces an error if the path is not found on the
host.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-08-08 17:24:00 +02:00
..
adapter.go add health check in docker cluster 2016-07-06 13:43:20 -07:00
container.go Validate mount paths on task create 2016-08-01 23:35:46 -04:00
controller.go container/controller: avoid cancellation with forked pull context 2016-07-25 21:52:10 -07:00
errors.go add health check in docker cluster 2016-07-06 13:43:20 -07:00
executor.go Using map to list plugins in node description 2016-07-25 17:45:32 -07:00
health_test.go add health check in docker cluster 2016-07-06 13:43:20 -07:00
validate.go fix validation of non-existing bind-mount source 2016-08-08 17:24:00 +02:00
validate_test.go fix validation of non-existing bind-mount source 2016-08-08 17:24:00 +02:00
validate_unix_test.go Validate mount paths on task create 2016-08-01 23:35:46 -04:00
validate_windows_test.go Validate mount paths on task create 2016-08-01 23:35:46 -04:00