0.1.6 • Published 5 years ago
docker-dashboard v0.1.6
Docker Dashboard

:computer::chart_with_upwards_trend:Console based docker dashboard, base on blessed and blessed-contrib.

Install
$ npm install -g docker-dashboardNote: need to install the docker before use, and only support
unix socket.
In the following environment test passed:
| OS | Docker | Nodejs |
|---|---|---|
| Ubuntu 16.04 LTS | v1.12.6 | v8.10.0 |
| Fedora 25 | v1.12.6 | v8.11.1 |
Other system and versions are not guaranteed.
Usage
$ docker-dashboardShortcut
| shortcut | description |
|---|---|
D | show node info, warm info and others. |
C | show container list. |
I | show image list. |
N | show network list. |
V | show volume list. |
H | help. |
↑ | scroll up. |
↓ | scroll down. |
Enter | select a container and show statistics. |
Q | exit dashboard. |
Support operation with mouse.
Development
run with resource:
$ git clone git@github.com:pipiliang/docker-dashboard
$ cd docker-dashboard
$ npm i
$ npm run build
$ npm test
$ npm startDebug by VSCode
launch.json :
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "node",
"request": "launch",
"args": [
"${workspaceRoot}/src/index.ts"
],
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register"
],
"sourceMaps": true,
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"console": "integratedTerminal"
}
]
}