1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume/mounts
Sebastiaan van Stijn 574db7a537
Tweak bind mount errors
These messages were enhanced to include the path that was
missing (in df6af282b9), but
also changed the first part of the message.

This change complicates running e2e tests with mixed versions
of the engine.

Looking at the full error message, "mount" is a bit redundant
as well, because the error message already indicates this is
about a "mount";

    docker run --rm --mount type=bind,source=/no-such-thing,target=/foo busybox
    docker: Error response from daemon: invalid mount config for type "bind": bind mount source path does not exist: /no-such-thing.

Removing the "mount" part from the error message, because
it was redundant, and makes cross-version testing easier :)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-09-28 12:18:58 +02:00
..
lcow_parser.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
linux_parser.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
mounts.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
parser.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
parser_test.go Tweak bind mount errors 2018-09-28 12:18:58 +02:00
validate.go Tweak bind mount errors 2018-09-28 12:18:58 +02:00
validate_test.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
validate_unix_test.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
validate_windows_test.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_copy.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_unix.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_windows.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
windows_parser.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00