You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: buildx should support pushing built manifests separately from the build process. There should be a buildx equivalent of docker push, probably docker buildx push.
The previous issue (#1152) got converted to a discussion (#2718) because the initial prompt was a question. To be clear, I'm not asking for alternatives with this issue - I'm asking for built-in buildx support.
The text was updated successfully, but these errors were encountered:
Buildx is a CLI for BuildKit builders and BuildKit does not provide APIs for image store (create/delete/list images). You can't have buildx push without having buildx images ls, buildx images rm etc. at least as well and unlike build cache, image storage needs to be actively maintained by the user as it can't be garbage collected. Many other tools exist for storing images, like Docker daemon, Containerd, Container registry etc. and Buildx integrates with all of them. Additionally buildx allows exporting images to OCI layout where you can manage it as immutable files.
To be frank, as a consumer of the tool, the underlying implementation of this feature (whether it be via something that the CLI tool handles, buildkit handles, or the tools that buildkit integrates with) isn't really important to me. What is important to me (again, purely as a user) is that I am able to use the tool for the aforementioned use cases.
Myself and at least 40 other people see the need for this, making it the third most requested issue currently open, and 6th of all time.
For what it's worth, I'm not opposed to having buildx images {ls,rm} etc. commands, and I'm not opposed to managing cleanup of old images. The above uses cases would also be satisfied if docker push could push manifests + referenced images. Any of these options work, so long as manifests/images created via docker buildx can be pushed after being built, separately from being built.
Description
Request:
buildx
should support pushing built manifests separately from the build process. There should be abuildx
equivalent ofdocker push
, probablydocker buildx push
.Use cases:
Workarounds (all painful):
docker build
+docker push
+docker manifest create
+docker manifest push
(the hard way)The previous issue (#1152) got converted to a discussion (#2718) because the initial prompt was a question. To be clear, I'm not asking for alternatives with this issue - I'm asking for built-in
buildx
support.The text was updated successfully, but these errors were encountered: