80
GitHub - skanehira/docui: TUI Tool for Docker
source link: https://github.com/skanehira/docui
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
docui - TUI Client for Docker Written in Go
About docui
docui is TUI Tool for Docker Client.
docui can do thises.
-
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
Required Tools
- Go Ver.1.11.4~
- Docker Engine Ver.18.06.1~
- Git
Installation
If yo not install go and set GOPATH/GOBIN,
you must install and set env before install docui.
This project uses Go Modules for dependencies introduced in Go 1.11.
Use go get or git clone:
$ 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
Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used:
export PATH=$PATH:$GOPATH/bin
Update
Use git pull:
$ git pull $ GO111MODULE=on go install
Log file
~/docui.log
Use on Docker
$ docker run --rm -itv /var/run/docker.sock:/var/run/docker.sock skanehira/docui
$ docui
Build Docker Image
$ cd build
$ bash build.sh
Keybindings
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 ↑How to use
For details of the input panel please refer to wiki
Screenshots
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK