Geert Stappers
2024-09-14 21:50:01 UTC
Hello,
On a Bookworm system results `DOCKER_BUILDKIT=1 docker build .` in
a succesfull build.
On an unstable system results `DOCKER_BUILDKIT=1 docker build .` in
this output:
|ERROR: BuildKit is enabled but the buildx componet is missing or broken.
| Install the buildx component to build images with BuildKit:
| https://docs.docker.com/go/builds
That webpage says: "Buildx and BuildKit are both installed with Docker
Desktop and Docker Engine out-of-the-box." It explains why the build
works on the Bookworm system. And says it should work on the unstable
system. But here we are ...
My websearch suggested there is package 'docker-buildx-plugin' and
package 'docker-buildx'. "apt" can't find them.
What should be done to get the buildx component working?
Background information:
The Bookworm system:
|$ dpkg -l docker\* | grep ^ii | cut -b -60
|ii docker-compose 1.29.2-3 all
|ii docker.io 20.10.24+dfsg1-1+b3 amd64
|$ docker --version
|Docker version 20.10.24+dfsg1, build 297e128
|$
On the unstable system:
|$ dpkg -l docker\* | grep ^ii | cut -b -60
|ii docker-cli 26.1.5+dfsg1-2+b1 amd64
|ii docker-compose 1.29.2-6 all
|ii docker.io 26.1.5+dfsg1-2+b1 amd64
|$ docker --version
|Docker version 26.1.5+dfsg1, build a72d7cd
|$
Groeten
Geert Stappers
On a Bookworm system results `DOCKER_BUILDKIT=1 docker build .` in
a succesfull build.
On an unstable system results `DOCKER_BUILDKIT=1 docker build .` in
this output:
|ERROR: BuildKit is enabled but the buildx componet is missing or broken.
| Install the buildx component to build images with BuildKit:
| https://docs.docker.com/go/builds
That webpage says: "Buildx and BuildKit are both installed with Docker
Desktop and Docker Engine out-of-the-box." It explains why the build
works on the Bookworm system. And says it should work on the unstable
system. But here we are ...
My websearch suggested there is package 'docker-buildx-plugin' and
package 'docker-buildx'. "apt" can't find them.
What should be done to get the buildx component working?
Background information:
The Bookworm system:
|$ dpkg -l docker\* | grep ^ii | cut -b -60
|ii docker-compose 1.29.2-3 all
|ii docker.io 20.10.24+dfsg1-1+b3 amd64
|$ docker --version
|Docker version 20.10.24+dfsg1, build 297e128
|$
On the unstable system:
|$ dpkg -l docker\* | grep ^ii | cut -b -60
|ii docker-cli 26.1.5+dfsg1-2+b1 amd64
|ii docker-compose 1.29.2-6 all
|ii docker.io 26.1.5+dfsg1-2+b1 amd64
|$ docker --version
|Docker version 26.1.5+dfsg1, build a72d7cd
|$
Groeten
Geert Stappers
--
Silence is hard to parse
Silence is hard to parse