1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume/local
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
..
local.go improve error message for volume names that are too short 2016-08-17 16:40:24 +02:00
local_test.go improve error message for volume names that are too short 2016-08-17 16:40:24 +02:00
local_unix.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
local_windows.go Support mount opts for local volume driver 2016-03-03 10:32:25 -05:00