15 Star 71 Fork 18

liang / docker-dashboard

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
readme.md

Docker Dashboard npm version Build Status UT

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

Install

$ npm install -g docker-dashboard

Note: 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-dashboard

Shortcut

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 start

Debug 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"
        }
    ]
}

Thanks

License

npm

Comments ( 3 )

Sign in for post a comment

About

基于控制台的docker仪表盘。 spread retract
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
JavaScript
1
https://gitee.com/liangw/docker-dashboard.git
git@gitee.com:liangw/docker-dashboard.git
liangw
docker-dashboard
docker-dashboard
master

Search