终端的Docker管理ui,不用再记各种命令啦
Posted 每日github
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了终端的Docker管理ui,不用再记各种命令啦相关的知识,希望对你有一定的参考价值。
README.md
关于docui
docui是Docker的TUI客户端。
docui可以做如下:
镜像image
search/pull/remove
save/import/load
inspect/filtering
容器container
create/remove
start/stop
export/commit
inspect/rename/filtering
exec cmd
容器卷volume
create/remove/prune
inspect/filtering
网络network
remove
inspect/filtering
支持的OS
mac
linux
需要的工具
Go Ver.1.11.4~
Docker Engine Ver.18.06.1~
Git
安装
源代码方式
如果先设置好go的环境变量GOPATH/GOBIN,本项目使用
Go1.11引进的go module的来管理依赖。
使用以下命令构建:
$ go get -d github.com/skanehira/docui
$ cd $GOPATH/src/github.com/skanehira/docui
$ GO111MODULE=on go install
$ git clone https://github.com/skanehira/docui.git
$ cd docui/
$ GO111MODULE=on go install
确保你的PATH环境变量中有$GOPATH/bin。
export PATH=$PATH:$GOPATH/bin
homebrew
$ brew tap skanehira/docui
$ brew install docui
snaped
$ snap install docui --classic
更新
使用git pull进行更新
$ git pull
$ GO111MODULE=on go install
日志文件
~/docui.log
在docker上面使用
$ docker run --rm -itv /var/run/docker.sock:/var/run/docker.sock skanehira/docui
建立doker镜像
$ make docker-build
快捷键
panel | operation | key |
---|---|---|
all | change panel | Tab |
all | quit | Ctrl + q |
all | quit | q |
list panels | next entry | j / ↓ |
list panels | previous entry | k / ↑ |
image list | pull image | p |
image list | search images | Ctrl + f |
image list | remove image | d |
image list | create container | c |
image list | inspect image | Enter / o |
image list | save image | s |
image list | import image | i |
image list | load image | Ctrl + l |
image list | remove dangling images | Ctrl + d |
image list | refresh image list | Ctrl + r |
image list | filter image | f |
container list | inspect container | Enter / o |
container list | remove container | d |
container list | start container | u |
container list | stop container | s |
container list | export container | e |
container list | commit container | c |
container list | rename container | r |
container list | refresh container list | Ctrl + r |
container list | filter image | f |
container list | exec container cmd | Ctrl + c |
volume list | create volume | c |
volume list | remove volume | d |
volume list | prune volume | p |
volume list | inspect volume | Enter / o |
volume list | refresh volume list | Ctrl + r |
volume list | filter image | f |
network list | inspect network | Enter / o |
network list | remove network | d |
pull image | pull image | Enter |
pull image | close panel | Esc |
create container | next input box | ↓ / Tab |
create container | previous input box | ↑ |
create container | close panel | Esc |
detail | cursor dwon | j |
detail | cursor up | k |
detail | page dwon | d |
detail | page up | u |
search images | search image | Enter |
search images | close panel | Esc |
images | next image | j / ↓ |
images | previous image | k / ↑ |
images | pull image | Enter |
images | close panel | Esc |
create volume | close panel | Esc |
create volume | next input box | ↓ / Tab |
create volume | previous input box | ↑ |
如何使用
详见wiki文档:
https://github.com/skanehira/docui/blob/master/wiki.md
部分截图
往期内容:
欢迎小伙伴后台留言推荐好的Github项目:)
我们会对项目进行:
Readme的中文翻译简化
项目内容扩展
源码解读
等等
如果觉得好看或对您有帮助记得点好看
您的鼓励是我们持续更新的动力
以上是关于终端的Docker管理ui,不用再记各种命令啦的主要内容,如果未能解决你的问题,请参考以下文章