Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#989917: docker.io: docker "buildx" not found

1,392 views
Skip to first unread message

Elana Hashman

unread,
Jun 15, 2021, 7:00:04 PM6/15/21
to
Package: docker.io
X-Debbugs-Cc: ehas...@debian.org
Version: 20.10.5+dfsg1-1+b3
Severity: important

When I try to run the `docker buildx build` command, even with experimental
features enabled, it fails:

ehashman@fedora:~$ docker buildx build
docker: 'buildx' is not a docker command.
See 'docker --help'
ehashman@fedora:~$ DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build
docker: 'buildx' is not a docker command.
See 'docker --help'

I can't find any patches or files under debian/copyright suggesting this
functionality was patched out of the docker.io package.

The docker documentation suggests that this is included in the Docker system
packages,[1] and so I have encountered projects that assume it will be
available so long as experimental CLI features are enabled.[2] As far as I can
tell, buildx doesn't appear to be available either as part of the docker.io
Debian package nor as a separate package on Debian (e.g. docker-buildx or
similar).

Thanks in advance for the help!

- e

[1]: https://docs.docker.com/buildx/working-with-buildx/#install
[2]: https://github.com/kubernetes/kubernetes/issues/102822

-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages docker.io depends on:
ii adduser 3.118
ii containerd 1.4.5~ds1-1+b2
ii init-system-helpers 1.60
ii iptables 1.8.7-1
ii libc6 2.31-12
ii libdevmapper1.02.1 2:1.02.175-2.1
ii libsystemd0 247.3-5
ii lsb-base 11.1.0
ii runc 1.0.0~rc93+ds1-5+b1
ii tini 0.19.0-1

Versions of packages docker.io recommends:
ii apparmor 2.13.6-10
ii ca-certificates 20210119
ii cgroupfs-mount 1.4
ii git 1:2.30.2-1
ii needrestart 3.5-4
ii xz-utils 5.2.5-2

Versions of packages docker.io suggests:
pn aufs-tools <none>
pn btrfs-progs <none>
ii debootstrap 1.0.123
ii docker-doc 20.10.5+dfsg1-1
ii e2fsprogs 1.46.2-1
pn rinse <none>
pn rootlesskit <none>
pn xfsprogs <none>
pn zfs-fuse | zfsutils-linux <none>

-- no debconf information
signature.asc

Tianon Gravi

unread,
Jun 15, 2021, 7:10:04 PM6/15/21
to
On Tue, 15 Jun 2021 at 15:50, Elana Hashman <ehas...@debian.org> wrote:
> I can't find any patches or files under debian/copyright suggesting this
> functionality was patched out of the docker.io package.

That'd be because it's not actually part of Docker proper; it just
happens to be part of the releases Docker, Inc makes:

https://github.com/docker/buildx

It's a separate binary that can be placed in the appropriate place to
be picked up and invoked by the Docker client, so I guess this should
be converted to RFP or ITP depending on your level of interest in
getting it into Debian. :)

♥,
- Tianon
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4

Elana Hashman

unread,
Jun 15, 2021, 7:50:03 PM6/15/21
to
Control: reassign -1 wnpp
Control: retitle -1 RFP: docker-buildx -- docker CLI plugin for BuildKit

* Package name: docker-buildx
Version: 0.5.1
Upstream Author: https://github.com/docker/buildx/blob/master/AUTHORS
* URL: https://github.com/docker/buildx
* License: Apache 2.0
Description: Docker CLI plugin for extended build capabilities with BuildKit

On Tue, Jun 15, 2021 at 03:53:47PM -0700, Tianon Gravi wrote:
>
> That'd be because it's not actually part of Docker proper; it just
> happens to be part of the releases Docker, Inc makes:
>
> https://github.com/docker/buildx
>
> It's a separate binary that can be placed in the appropriate place to
> be picked up and invoked by the Docker client, so I guess this should
> be converted to RFP or ITP depending on your level of interest in
> getting it into Debian. :)

I'm guilty of having too many ITPs assigned to me that I haven't gotten around
to, filing as an RFP.

- e
signature.asc
0 new messages