Sebastiaan van Stijn 0d2b77587c 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>
Upstream-commit: 84d5ab96ef33355e65f5c31210eb1777db372c52
Component: engine
2016-08-08 17:24:00 +02:00
S
Description
The Docker CLI
358 MiB
Languages
Go 92.3%
Shell 5.4%
Dockerfile 1.1%
Go-Checksums 0.7%
Makefile 0.3%
Other 0.2%