Skip to content

no buildx in debian testing any more? #48835

Closed as not planned
Closed as not planned

Description

@ulrichard

Description

Most of my machines run on debian testing with docker installed form the debian repository. For the longest time I could build docker containers with buildkit enabled. But at some point it stopped working. At first I thought that would be a temporary thing with some packages updating. These things happen from time to time on debian testing, and usually they resolve after a couple of days or sometimes weeks. But this problem with buildx has now existed for at least two months.
Simple containers that don't require features from buildx still build.
I didn't really find useful information on how to resolve by searching the internet. In the package description I found a reference to the moby project. That's why I am opening this issue here. If this is not the right place, please provide a pointer on where is a better place.

Reproduce

On an up to date debian trixie installation execute the following:
DOCKER_BUILDKIT=1 docker build --output some_files
I get the following error:

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/

Since I installed docker from the repository I would prefer not having to install buildx manually.

Expected behavior

The command should build the container as it did in the past

docker version

Client:
Version: 26.1.5+dfsg1
API version: 1.45
Go version: go1.23.2
Git commit: a72d7cd
Built: Thu Oct 31 23:17:51 2024
OS/Arch: linux/amd64
Context: default

Server:
Engine:
Version: 26.1.5+dfsg1
API version: 1.45 (minimum version 1.24)
Go version: go1.23.2
Git commit: 411e817
Built: Thu Oct 31 23:17:51 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.23ds2
GitCommit: 1.7.23
ds2-1
runc:
Version: 1.1.15+ds1
GitCommit: 1.1.15+ds1-1
docker-init:
Version: 0.19.0
GitCommit:

docker info

Client:
Version: 26.1.5+dfsg1
Context: default
Debug Mode: false

Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 226
Server Version: 26.1.5+dfsg1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 1.7.23~ds2-1
runc version: 1.1.15+ds1-1
init version:
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.11.5-amd64
Operating System: Debian GNU/Linux trixie/sid
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 31.27GiB
Name: ulrichard
ID: XXX
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Additional Info

No response

Activity

  1. added
    kind/bug
    on Nov 7, 2024
  2. thaJeztah commented on Nov 7, 2024

    @thaJeztah
    Member

    From the output (26.1.5+dfsg1 with the dfsg1 suffix), I suspect you've installed the distro-maintained packages, so this may be a better question for the debian distro maintainers.

    We haven't start building packages for trixie at download.docker.com, but packages for current (bookworm) should probably work; https://docs.docker.com/engine/install/debian/

    I'll close this ticket because of the above, but feel free to continue the conversation.

  3. added and removed
    kind/bug
    on Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions