Fix bash completion for "docker swarm"#772
Merged
vdemeester merged 1 commit intodocker:masterfrom Jan 2, 2018
muicoder:patch-1
Merged
Fix bash completion for "docker swarm"#772vdemeester merged 1 commit intodocker:masterfrom muicoder:patch-1
vdemeester merged 1 commit intodocker:masterfrom
muicoder:patch-1
Conversation
Codecov Report
@@ Coverage Diff @@
## master #772 +/- ##
==========================================
- Coverage 53.46% 53.46% -0.01%
==========================================
Files 218 218
Lines 14642 14642
==========================================
- Hits 7829 7828 -1
- Misses 6327 6328 +1
Partials 486 486 |
Collaborator
|
Can you please explain why you want to remove support for |
Contributor
Author
|
When I set DOCKER_HIDE_LEGACY_COMMANDS=true, swarm is not available, “swarm” is placed in legacy_commands, it should not be in management_commands? Usage: docker COMMAND
A self-sufficient runtime for containers
......
Management Commands:
checkpoint Manage checkpoints
config Manage Docker configs
container Manage containers
image Manage images
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
trust Manage trust on Docker images (experimental)
volume Manage volumes
Commands:
build Build an image from a Dockerfile
deploy Deploy a new stack or update an existing stack
login Log in to a Docker registry
logout Log out from a Docker registry
run Run a command in a new container
search Search the Docker Hub for images
version Show the Docker version information
Run 'docker COMMAND --help' for more information on a command. |
Collaborator
|
Ah yes, you are right. |
Collaborator
|
@muicoder Please sign your commit. |
Signed-off-by: muicoder <muicoder@gmail.com>
nobiit
pushed a commit
to nobidev/docker-cli
that referenced
this pull request
Nov 19, 2025
Fix bash completion for "docker swarm" Upstream-commit: b0efaae Component: cli
This 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


"docker swarm" auto-completion is invalid.