Merge pull request #23299 from albers/completion-dockerd-path
fix bash completion for dockerd invoked with path
This commit is contained in:
commit
4b2b5214a4
1 changed files with 1 additions and 1 deletions
|
@ -2319,7 +2319,7 @@ _docker() {
|
|||
done
|
||||
|
||||
local binary="${words[0]}"
|
||||
if [[ $binary == dockerd ]] ; then
|
||||
if [[ $binary == ?(*/)dockerd ]] ; then
|
||||
# for the dockerd binary, we reuse completion of `docker daemon`.
|
||||
# dockerd does not have subcommands and global options.
|
||||
command=daemon
|
||||
|
|
Loading…
Reference in a new issue