docker命令按tab无法补全

# 1.安装bash-completion
yum install -y bash-completion

# 2.刷新文件
source /usr/share/bash-completion/completions/docker
source /usr/share/bash-completion/bash_completion

你可能感兴趣的:(docker,容器,运维)