-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docker manifest: allow to update an existing manifest with new images #3157
Comments
If you have I must admit that I haven't used it myself, but perhaps @crazy-max or @tonistiigi can provide more information on that. (if there's a full example, it would be good to add it to the docs as well https://github.com/docker/buildx/blob/master/docs/reference/buildx_imagetools_create.md) |
thanks! I have only briefly looked at
Unsure if I can use it in this case, but I can try :) |
I fully agree with @mweibel. |
@mweibel : were you able to workaround this?
thoughts? |
I'm just using one |
I'm also very interested in being able to update an existing manifest list and replace just one image. We're an Ansible shop and are looking at creating amd64/arm64 Linux images separately. Instead of using UpdateI was able to make use of
To update manifest list with a new amd64 image:
|
I'm using gitlab jobs to build multiple images independent of each other for different architectures (linux and several windows versions).
My guess was that
docker manifest create --amend {list} {image}
would either create a new manifest list with the image passed or amend the existing list with the new image.e.g. my assumption was
would result in a manifest list containing the three images for linux and the two windows images.
This only works if you have the manifest locally already, however if you execute those three commands in different nodes or with clearing the docker directory in between, it would just always create a new manifest list containing one image.
Therefore I'd like a command which allows this, and/or a
docker manifest pull
command allowing me to retrieve the manifest list locally before updating it.The text was updated successfully, but these errors were encountered: