FS#75940 - [docker] Docker package does not contain buildx cli plugin with 20.10.18-1

Attached to Project: Community Packages
Opened by Daniel (Ginxo) - Monday, 19 September 2022, 11:20 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 20 September 2022, 03:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The current version of the docker package, 20.10.18-1, does not contain the docker buildx CLI plugin. This leads to all buildx builds to fail.
2.10.17-1 does contain that plugin.
You can verify this by seeing the paths included in the package:
docker /usr/lib/docker/cli-plugins/
docker /usr/lib/docker/cli-plugins/docker-buildx
are both missing in 20.10.18-1, but available in 20.10.17-1. The new version of package is also 47mb smaller, which the missing plugin might (at least partially) be the reason for.


Additional info:
* package version(s)
20.10.18-1
* config and/or log files etc.
Diff output "pacman -Ql docker" for 20.10.17-1 vs 20.10.18-1:

diff old_version.txt new_version.txt
8,10d7
< docker /usr/lib/docker/
< docker /usr/lib/docker/cli-plugins/
< docker /usr/lib/docker/cli-plugins/docker-buildx

* link to upstream bug report, if any

Steps to reproduce:
* Install docker package version 20.10.18-1
* run `docker buildx`
* verify output is
docker: 'buildx' is not a docker command.
See 'docker --help
* downgrade docker to 20.10.17-1
* verify command is now found
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 20 September 2022, 03:33 GMT
Reason for closing:  Not a bug
Additional comments about closing:  "It seems the package was split and the CLI plugin is now a separate one, so this bug is not so much a bug in the package as in documentation of that change."
Comment by Morten Linderud (Foxboron) - Monday, 19 September 2022, 11:32 GMT
Please see the new optional dependency `docker-buildx` which carries the plugin.
Comment by Daniel (Ginxo) - Monday, 19 September 2022, 11:48 GMT
Ah yes, thanks for the hint. I did not get that. For me it seems kind of strange doing this in a patch version (though I understand the version has to match docker's) but nice that there is a solution. I will edit the wiki page to include that information.

Loading...