Implement regex parser for image names
danegsta opened this issue · comments
David Negstad commented
Implement a regex for parsing image name components out of a full image name (registry, name, tag)
Brandon Waterloo [MSFT] commented
@danegsta and I were talking, and we thought it would be nice for the image list and/or inspect to include a lot of info about names. For example, something along these lines:
- Verbose full name, as verbose as possible. e.g.
docker.io/library/alpine:latest
- "Original" full name, as close to the CLI output as possible. e.g.
alpine:latest
. For Docker this is probably just keeping off the implicitdocker.io/library/
- Registry, e.g.
docker.io
- Image e.g.
library/alpine
- Maybe repository + separate image? e.g.
library
andalpine
- Tag e.g.
latest