containerregistry icon indicating copy to clipboard operation
containerregistry copied to clipboard

Parsing tag in images to when registry is specified does not work as expected

Open MissingRoberto opened this issue 7 years ago • 0 comments

I was trying to use a local docker registry listening on localhost:5000 and I discovered that I couldn't use the client with images which name contains the port:

Eg: localhost:5000/jszroberto/bazel-test

The reason is that the code identifies everything after the colon as the image tag.

Error:

Invalid tag: 5000/jszroberto/bazel-test, acceptable characters include:

Related to https://github.com/bazelbuild/rules_k8s/issues/131#issuecomment-387409202

MissingRoberto avatar May 08 '18 15:05 MissingRoberto