Open aweiteka opened 8 years ago
To reproduce, attempt to create a new repository on hub.docker.com named "some--thing".
Looks like just a bug in the regex that checks.
Changing
[a-z0-9]+(?:[._-][a-z0-9]+)*
to
[a-z0-9]+(?:[._-]+[a-z0-9]+)*
Might fix the problem. Unless docker really wants to force it to be just a single separator field.
Per vendor/redhat/names.md we accept '--' in the build image name. This causes a failure in docker v1.8+.