Comment 20 for bug 2030500

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

See https://bugs.launchpad.net/ubuntu/+source/docker-buildx/+bug/1968035/comments/13 and https://bugs.launchpad.net/ubuntu/+source/docker-buildx/+bug/1968035/comments/15

With docker 20.10.21-0ubuntu3, from lunar release (for example):

Works without warnings:

  $ docker build .

Works without warnings:

  $ DOCKER_BUILDKIT=1 docker build .

With 24.0.5-0ubuntu1~23.04.1 from lunar-updates:

Works with a warning about using a deprecated build system:

  $ docker build .
  DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
              Install the buildx component to build images with BuildKit:
              https://docs.docker.com/go/buildx/

Does not work:

  $ DOCKER_BUILDKIT=1 docker build .
  ERROR: BuildKit is enabled but the buildx component is missing or broken.
         Install the buildx component to build images with BuildKit:
         https://docs.docker.com/go/buildx/