containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.68k stars 296 forks source link

Missing extension for "Buildx" #8134

Open afbjorklund opened 2 months ago

afbjorklund commented 2 months ago

Is your enhancement related to a problem? Please describe

Currently there is an extension for installing docker-compose

https://github.com/docker/compose

But there is no extension for installing docker-buildx (BuildKit)

https://github.com/docker/buildx

Describe the solution you'd like

They should be rather similar, including setting up DOCKER_HOST

Describe alternatives you've considered

brew install docker-buildx

Additional context

Note: referring to the "standalone" version, not the Docker plugin

afbjorklund commented 2 months ago

podman-buildx:

podman build .

docker-buildx:

docker-buildx build . --load


Currently podman buildx is hardcoded to always call the legacy builder (buildah), there is no buildkit option...

One could imagine something very similar to PODMAN_COMPOSE_PROVIDER, like PODMAN_BUILDX_PROVIDER

Default Image: docker.io/moby/buildkit:buildx-stable-1

Default Container: buildx_buildkit_default (automatic)