docker命令无法补全

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

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

posted @ 2022-04-12 21:54  Leonardo-li  阅读(86)  评论(0编辑  收藏  举报