docker使用tab自动补全命令
docker使用tab自动补全命令 On RHEL-based systems 1 2 dnf install bash-completion -y yum install bash-completion -y On Debian-based systems 1 apt-get install bash-completion -y 下载命令补全文件 1 curl https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker -o /etc/bash_completion.d/docker.sh 如果下载失败最后附上文件内容。 重新登录