-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support images without tags #511
Comments
What should the format look like? For operations that just take a tag, I suspect we will need to be careful to not make it impossible to create valid tags. I guess we would use a character not allowed to be in tags per the spec. The operations that "update" images ( |
I'm wondering if this is less important than I imagined, given the response to my bug against podman. I'm going to try to get podman's documentation improved. Maybe no competent tool actually generates these problematic OCI structures. |
Yeah, IMO it is kind of strange to generate an image without a top level tag. |
podman save --format=oci-dir does not appear to produce an org.opencontainers.image.ref.name annotation in index.json, but it does produce a "config" with the same hash that it uses through the podman CLI to refer to the image.
It would be nice if umoci had some way to list configs in the image and to unpack an OCI dir produced by podman. If I hack up index.json to have a ref.name, then umoci seem to be able to use it, but I don't see any way to do this using umoci without manually editing index.json.
I could imagine umoci tag gaining functionality for this or for the --image parameter to more generally gain the ability to refer to untagged images.
The text was updated successfully, but these errors were encountered: