Docker自动补全容器名
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                Docker自动补全容器名
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                Zsh
下載自動完成文件
在~/.zshrc中加入
確保已經加載compinit,或加入到~/.zshrc
重新載入Shell
Available completions
Depending on what you typed on the command line so far, it completes:
- available docker-compose commands
- options that are available for a particular command
- service names that make sense in a given context, such as services with running or - stopped instances or services based on images vs. services based on Dockerfiles. For docker-compose scale, completed service names automatically have “=” appended.
- arguments for selected options. For example, docker-compose kill -s completes some signals like SIGHUP and SIGUSR1.
 Enjoy working with Compose faster and with less typos!
轉載于:https://www.cnblogs.com/zhuxiaoxi/p/8972980.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Docker自动补全容器名的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: Python入门:局部变量与全局变量2
- 下一篇: 单片机平台的最小偏差圆弧插补算法
