Docker buildkit

I found buildkit in /var/lib/docker/buildkit, was wondering if it is installed for use.
export DOCKER_BUILDKIT=1; and docker build buildx... and got

ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:

When I run docker build... I get:

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:

Do I have to uninstall Docker and reinstall with Buildkit to get rid of the deprecation?

Added docker, f39

I think because Fedora ships with Podman and Buildah, what you’re seeing as buildkit is the replacement used for Buildah. @dustymabe is probably the best person to ask about this.

podman build podman can be used interchangebly with Docker.

@alys Thanks for the tip, buildah works, however buildah has to be manually installed.

Yes there’s that too. I’ve haven’t used podman build much. I learned buildah and have stuck to that.

@alys @hamrheadcorvette - well it looks like buildah is a front-end to podman. The images/containers are in the same location. I use the web front-end to manage my containers. Portainer only works with docker build that is why I was staying away from podman. Will continue with docker until it completely fails.

On most RHEL/Fedora systems, People alias Docker to Podman :laughing: :upside_down_face:

@daveome - It looks like there is an open bug for this:

You’ll need to work with the moby-engine maintainers in Fedora to get it fixed.

@alys @hamrheadcorvette @dustymabe Thanks all, I just discovered Podman Desktop on flatpak. Can now start using podman and it supports Docker. The io.portainer community is developing a podman hook.