Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of image tag got wrong in 1.2.0 ? #7714

Closed
doloopwhile opened this issue Aug 25, 2014 · 1 comment · Fixed by #7716
Closed

Validation of image tag got wrong in 1.2.0 ? #7714

doloopwhile opened this issue Aug 25, 2014 · 1 comment · Fixed by #7716

Comments

@doloopwhile
Copy link

I tried to import image file with docker import but it failed.

$ cat gotest.tar | docker import - local/gotest:3042ad4266e0ee1f45a471ae242aebc84792ce3e
Invalid repository name (gotest:3042ad4266e0ee1f45a471ae242aebc84792ce3e), only [a-z0-9-_.] are allowed

It worked in 1.1.2.
Here is my environment:

$ uname -a
Linux omoto-xubuntu 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.1
Git commit (client): fa7b24f
OS/Arch (client): linux/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.3.1
Git commit (server): fa7b24f
$ docker -D info
Containers: 1
Images: 71
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 74
Execution Driver: native-0.2
Kernel Version: 3.13.0-34-generic
Operating System: Ubuntu 14.04.1 LTS
Debug mode (server): false
Debug mode (client): true
Fds: 10
Goroutines: 10
EventsListeners: 0
Init Path: /usr/bin/docker
WARNING: No swap limit support

The above was just a quick report.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants