Replies: 2 comments 3 replies
-
Hi @tarun360 I don't think buildah can modify existing container image in storage, maybe skopeo is better candidate for this but @vrothberg and @mtrmac can confirm better if skopeo can do this or plan to do this in future or not. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For adding some annotations/labels to a image, we first have to create the container from the image, and then we can add some annotations/labels using buildah-config:
buildah-config [options] containerID
But this requires first creating a container from image, then adding the required annotation/label, and then committing the changes back to an image.
But creating a container just for making some small change to the image configuration seems a unnecessary step which would take additional time and memory.
Is there a better way to add annotations/labels to a image?
Beta Was this translation helpful? Give feedback.
All reactions