dockly

Immersive terminal interface for managing docker containers and services

Github星跟蹤圖

Node Version
view on npm
view on npm
npm module downloads
Known Vulnerabilities
Security Responsible Disclosure

? Featured on Awesome Docker DevOps Weekly
terminals are sexy

dockly-demo-2

Install

Install the API module as a dependency in your project so you can easily use it to query Operations Orchestration REST API

npm install -g dockly

Usage

Just fire up dockly and it will automatically connect to your localhost docker daemon through the unix socket:

dockly

Command line options:

It's also possible to provide command line options for dockly to customize the docker connection, Param, Type, Description, ---, ---, ---, -s or --socketPath, string, Docker socket to connect to, --containerFilters, string, String to apply to filter shown containers, -h or --help, null, Display help, -v or --version, null, Display version information, ### --containerFilters

This is a string that could be used to filter the shown containers;
its format is in the x-www-form-urlencoded style and the filters you could apply are listed here: https://docs.docker.com/engine/api/v1.37/#operation/ContainerList

Example: --containerFilters="name=test&status=running" to only show running container which name match test.

Docker Support

Run from docker

You can run dockly using docker:

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock lirantal/dockly

Build

If you wish to build dockly as a docker image yourself, you can run the following:

$ docker build -t dockly .

$ docker run -it --rm --name dockly -v /var/run/docker.sock:/var/run/docker.sock dockly

FAQ

  1. Unsupported Node.js version

If you're getting the following error in your CLI:

root@neo:~# dockly
/usr/local/lib/node_modules/dockly/src/screen.js:36
constructor (utils = new Map()) {
^

SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)

Or this kind of error:

Trace: TypeError: Object.values is not a function                                                                                                            
    at screen.toggleMode (/home/vokiel/.nvm/versions/node/v6.11.1/lib/node_modules/dockly/src/screen.js:149:35)
    at Screen.screen.key (/home/vokiel/.nvm/versions/node/v6.11.1/lib/node_modules/dockly/src/screen.js:190:12)
    at Screen.EventEmitter._emit
    (/home/vokiel/.nvm/versions/node/v6.11.1/lib/node_modules/dockly/node_modules/blessed/lib/events.js:98:20)

This is most likely because you're using an unsupported Node.js version.
Dockly requires Node.js v7.6 and above

  1. PuTTY displays garbled text

Follow the steps in this comment to enable VT100 support on the settings for the window

Author

Liran Tal liran.tal@gmail.com

主要指標

概覽
名稱與所有者lirantal/dockly
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2016-10-22 21:47:48
推送於2025-06-26 12:54:40
最后一次提交
發布數68
最新版本名稱v3.24.5 (發布於 )
第一版名稱v2.1.0 (發布於 2017-05-27 20:09:28)
用户参与
星數3.9k
關注者數43
派生數161
提交數309
已啟用問題?
問題數83
打開的問題數3
拉請求數136
打開的拉請求數4
關閉的拉請求數83
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?