1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume
Sebastiaan van Stijn 8d5a615045
improve error message for volume names that are too short
this improves the error message if a user tries to
create a volume with a single-character name:

Before this change:

    docker volume create --name a
    Error response from daemon: create a: "a" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed

After this change:

    docker volume create --name a
    Error response from daemon: create a: volume name is too short, names should be at least two alphanumeric characters

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-08-17 16:40:24 +02:00
..
drivers delete a useless variable 2016-07-29 15:34:21 +08:00
local improve error message for volume names that are too short 2016-08-17 16:40:24 +02:00
store Remove code duplication in VolumeStore Create CreateWithRef 2016-07-06 19:09:47 -03:00
testutils Add support for volume scopes 2016-06-05 15:37:15 -04:00
volume.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_copy.go Add explicit flags for volume cp/no-cp 2016-03-21 20:38:44 -04:00
volume_propagation_linux.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_propagation_linux_test.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
volume_propagation_unsupported.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_test.go Windows: Remove TP4 support from test code 2016-04-11 15:36:31 -07:00
volume_unix.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_windows.go Windows: Support RO volumes 14350+ 2016-06-07 14:55:36 -07:00