check buildx version before comparing it by yangfeiyu20102011 · Pull Request #13415 · docker/compose
What I did
Related issue
#13414
(not mandatory) A picture of a cute animal, if possible in relation to what you did
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
any idea about circumstances for buildx plugin to be available but no version can be extracted?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a look at the docker/cli pluginManager code:
Actually, getPlugin may return a plugin instance and err=nil, but plugin.Err gives more details on some missing plugin expectation (typically: failure to get plugin metadata). This Err should be checked as well
I had a look at the docker/cli pluginManager code: Actually,
getPluginmay return a plugin instance and err=nil, butplugin.Errgives more details on some missing plugin expectation (typically: failure to get plugin metadata). ThisErrshould be checked as well
OK. How about get and check it ingetBuildxPlugin. @ndeloof
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request
Dec 19, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters