mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Merge pull request #19293 from albers/completion-connect-all
bash completion for connecting non-running containers to networks
This commit is contained in:
@@ -1139,7 +1139,7 @@ _docker_network_connect() {
|
||||
if [ $cword -eq $counter ]; then
|
||||
__docker_complete_networks
|
||||
elif [ $cword -eq $(($counter + 1)) ]; then
|
||||
__docker_complete_containers_running
|
||||
__docker_complete_containers_all
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user