Skip to content

Conversation

@thaJeztah
Copy link
Member

backport:

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

thaJeztah and others added 2 commits November 5, 2025 07:33
The allManagementSubCommands function is used to present plugin-commands
in the docker --help output; these commands are included in the "management
commands" section, but for plugins we don't know if they have sub-commands.

However, plugin stubs may be hidden (for placeholders that are not yet loaded),
or not be runnable, which was previously ignored.

This patch treats plugin-stubs the same as other commands, with the exception
of checking if they have subcommands (which is not yet known for plugin-stubs).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 259df25)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
(cherry picked from commit 700875b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli-plugins/manager/cobra.go 0.00% 1 Missing ⚠️
cli/cobra.go 50.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@vvoland vvoland merged commit ecc6942 into docker:28.x Nov 5, 2025
102 of 103 checks passed
@thaJeztah thaJeztah deleted the 28.x_plugin_hide branch November 5, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants