When I try to add a third party registry (Google Cloud Registry), I am unable to do so because my registry name contains a hyphen.
For example, this is not acceptable:
eu.gcr.io/sample-image/application
This works (but obviously cannot authenticate):
eu.gcr.io/sampleimage/application
The exact error is (yes, the json appears in the red toast dialog):
{“repository”: {“name”: [“Invalid image name. Should be in the format [registry[:port]/][username/]reponame[:tag]”]}}
The modal where you add the registry, the fields are highlighted green - so they pass client side validation - it appears that the server side element can’t handle the extra hyphen.
The solution is for Docker Cloud to deal with the characters.