All Projects → lirantal → Dockly

lirantal / Dockly

Licence: mit
Immersive terminal interface for managing docker containers and services

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Dockly

Github cli
GitHub on your command line. Use your terminal, not the browser.
Stars: ✭ 263 (-91.33%)
Mutual labels:  command-line-tool, cli, console
Ttyplot
a realtime plotting utility for terminal/console with data input from stdin
Stars: ✭ 532 (-82.47%)
Mutual labels:  command-line-tool, cli, console
Tooling
Advancing Node.js as a framework for writing great tools
Stars: ✭ 98 (-96.77%)
Mutual labels:  command-line-tool, cli, console
Licensed
⚖️ ✔️ licensed is an interactive command line tool to help you choose and add licenses to your projects
Stars: ✭ 220 (-92.75%)
Mutual labels:  command-line-tool, cli
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+45.75%)
Mutual labels:  command-line-tool, cli
Miniserve
🌟 For when you really just want to serve some files over HTTP right now!
Stars: ✭ 2,894 (-4.61%)
Mutual labels:  command-line-tool, cli
Partyline
Output to Laravel's console from outside of your Command classes.
Stars: ✭ 168 (-94.46%)
Mutual labels:  command-line-tool, console
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (-92.55%)
Mutual labels:  command-line-tool, cli
Klog
A plain-text file format and command line tool for time tracking
Stars: ✭ 222 (-92.68%)
Mutual labels:  command-line-tool, cli
Wpk
a friendly, intuitive & intelligent CLI for webpack
Stars: ✭ 232 (-92.35%)
Mutual labels:  command-line-tool, cli
ttdl
TTDL - Terminal Todo List Manager
Stars: ✭ 91 (-97%)
Mutual labels:  console, command-line-tool
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+57.09%)
Mutual labels:  command-line-tool, cli
Dnote
A simple command line notebook for programmers
Stars: ✭ 2,192 (-27.75%)
Mutual labels:  command-line-tool, cli
Dry Cli
General purpose Command Line Interface (CLI) framework for Ruby
Stars: ✭ 210 (-93.08%)
Mutual labels:  command-line-tool, cli
Mongotail
Command line tool to log all MongoDB queries in a "tail"able way
Stars: ✭ 169 (-94.43%)
Mutual labels:  command-line-tool, cli
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-92.62%)
Mutual labels:  command-line-tool, cli
Websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Stars: ✭ 3,477 (+14.6%)
Mutual labels:  command-line-tool, cli
jira-cli
🔥 [WIP] Feature-rich interactive Jira command line.
Stars: ✭ 809 (-73.34%)
Mutual labels:  console, command-line-tool
Ff
Find files (ff) by name, fast!
Stars: ✭ 257 (-91.53%)
Mutual labels:  command-line-tool, cli
Enhancd
🚀 A next-generation cd command with your interactive filter
Stars: ✭ 2,049 (-32.47%)
Mutual labels:  command-line-tool, cli



Immersive terminal interface for managing docker containers, services and images

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

🌟 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

  1. Icons not working properly

set LANG and LC_ALL to c.UTF-8 like so

export LANG=C.UTF-8
export LC_ALL=C.UTF-8

for more info please see this issue

Author

Liran Tal [email protected]

Alternatives

See Awesome Docker list for similar tools to work with Docker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].