fix bash completion for dockerd with path
Signed-off-by: Harald Albers <github@albersweb.de> Upstream-commit: e8c67e8d8d8d4570d78e21eae02451f27a372f83 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user