Use canonical image names when adding to the cache #11126
Labels
co/runtime/crio
CRIO related issues
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Currently, we save the images as archives using only a short name such as "busybox".
We should make sure to use the canonical name, e.g. "docker.io/library/busybox:latest"
The go-container-registry library can do this (
Name
), only have to work around index.docker.ioHaving the canonical name means that we can load them into container runtimes such as cri-o.
The library calls this "strict validation", as opposed to "weak validation" (without registry and tag)
Eventually it also opens up for having a different default registry.
But in the short term, it fixes some shortcomings with the cache: #8554
See also https://www.redhat.com/sysadmin/container-image-short-names
We can use the same short name as argument and as a cache filename.
The text was updated successfully, but these errors were encountered: