7cb96ba308
Validation of Mounts was only performed on container _creation_, not on container _start_. As a result, if the host-path no longer existed when the container was started, a directory was created in the given location. This is the wrong behavior, because when using the `Mounts` API, host paths should never be created, and an error should be produced instead. This patch adds a validation step on container start, and produces an error if the host path is not found. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
drivers | ||
local | ||
store | ||
testutils | ||
lcow_parser.go | ||
linux_parser.go | ||
parser.go | ||
validate.go | ||
validate_test.go | ||
validate_unix_test.go | ||
validate_windows_test.go | ||
volume.go | ||
volume_copy.go | ||
volume_test.go | ||
volume_unix.go | ||
volume_windows.go | ||
windows_parser.go |