• Stars
    star
    284
  • Rank 145,616 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Console based docker dashboard

Docker Dashboard npm version Build Status UT

๐Ÿ’ป๐Ÿ“ˆ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 [email protected]: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