All Projects → moncho → Dry

moncho / Dry

Licence: mit
dry - A Docker manager for the terminal @

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Dry

docker-cheat-sheet
Important Docker Commands Ordered by Compute (Services), Network, Storage then by Docker CLI, Dockerfile, Compose, and Swarm
Stars: ✭ 21 (-99.14%)
Mutual labels:  docker-swarm, docker-cli
Docker Stack This
A Docker Stack that just work. With Traefik, Socat, Portainer, Nginx, Caddy, Whoami
Stars: ✭ 149 (-93.87%)
Mutual labels:  docker-swarm
Pico
Object Detection and Analysis Made easy using Raspberry Pi, Apache Kafka, AWS Rekognition & Docker
Stars: ✭ 63 (-97.41%)
Mutual labels:  docker-swarm
Dockstation
DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
Stars: ✭ 1,744 (-28.29%)
Mutual labels:  docker-swarm
Cintodeutilidadesdocker
My Docker templates repository 🐳 ☁️ 🐳
Stars: ✭ 74 (-96.96%)
Mutual labels:  docker-swarm
Batchtools
Tools for computation on batch systems
Stars: ✭ 127 (-94.78%)
Mutual labels:  docker-swarm
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (-97.62%)
Mutual labels:  docker-swarm
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (-92.56%)
Mutual labels:  docker-swarm
Docker Swarm Tutorial
Docker Swarm 基本教學 - 從無到有 Docker-Swarm-Beginners-Guide📝
Stars: ✭ 148 (-93.91%)
Mutual labels:  docker-swarm
Install
Contiv Installer
Stars: ✭ 109 (-95.52%)
Mutual labels:  docker-swarm
Docker Compose Ui
web interface for Docker Compose
Stars: ✭ 1,454 (-40.21%)
Mutual labels:  docker-swarm
Elasticsearch Docker Swarm
Elasticsearch Cluster on Docker swarm Cluster.
Stars: ✭ 77 (-96.83%)
Mutual labels:  docker-swarm
Miniswarm
Docker Swarm cluster in one command
Stars: ✭ 130 (-94.65%)
Mutual labels:  docker-swarm
Gnes
GNES is Generic Neural Elastic Search, a cloud-native semantic search system based on deep neural network.
Stars: ✭ 1,178 (-51.56%)
Mutual labels:  docker-swarm
Amalgam8
Content and Version-based Routing Fabric for Polyglot Microservices
Stars: ✭ 152 (-93.75%)
Mutual labels:  docker-swarm
Docker Swarm Gui
📦 Docker Swarm GUI. A tiny tool to help you to visualize the state of your Docker swarm.
Stars: ✭ 61 (-97.49%)
Mutual labels:  docker-swarm
Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (-96.38%)
Mutual labels:  docker-swarm
Container Orchestration Comparison
A comparison of the different container orchestration tools available.
Stars: ✭ 119 (-95.11%)
Mutual labels:  docker-swarm
Spring Microservice Sample
Spring Boot based Mircoservice sample
Stars: ✭ 199 (-91.82%)
Mutual labels:  docker-swarm
Swarmpit
Lightweight mobile-friendly Docker Swarm management UI
Stars: ✭ 2,255 (-7.28%)
Mutual labels:  docker-swarm

dry

MIT License Build Status Docker Build Go Report Card GoDoc Coverage Status Github All Releases Join the chat at https://gitter.im/moncho/dry Release

Dry is a terminal application to manage Docker and Docker Swarm.

It shows information about Containers, Images and Networks, and, if running a Swarm cluster, it shows information about Nodes, Service, Stacks and the rest of Swarm constructs. It can be used with both local or remote Docker daemons.

Besides showing information, it can be used to manage Docker. Most of the commands that the official Docker CLI provides, are available in dry with the same behaviour. A list of available commands and their keybindings can be found in dry's help screen or in this README.

Lastly, it can also be used as a monitoring tool for Docker containers.

Dry is installed as a single binary and does not require external libraries.

The demo below shows a dry session.

asciicast

dry keybinds

Global

Keybinding Description
% filter list
F1 sort list
F5 refresh list
F7 toggle showing Docker daemon information
F8 show docker disk usage
F9 show last 10 docker events
F10 show docker info
1 show container list
2 show image list
3 show network list
4 show volumes list
5 show node list (on Swarm mode)
6 show service list (on Swarm mode)
7 show stacks list (on Swarm mode)
ArrowUp move the cursor one line up
ArrowDown move the cursor one line down
g move the cursor to the top
G move the cursor to the bottom
q quit dry

Container commands

Keybinding Description
Enter show container command menu
F2 toggle on/off showing stopped containers
i inspect
l container logs
e remove
s stats
Ctrl+e remove all stopped containers
Ctrl+k kill
Ctrl+l container logs with Docker timestamps
Ctrl+r start/restart
Ctrl+t stop

Image commands

Keybinding Description
i history
r run command in new container
Ctrl+d remove dangling images
Ctrl+e remove image
Ctrl+f remove image (force)
Ctrl+u remove unused images
Enter inspect

Network commands

Keybinding Description
Ctrl+e remove network
Enter inspect

Volume commands

Keybinding Description
Ctrl+a remove all volumes
Ctrl+e remove volume
Ctrl+f remove volume (force)
Ctrl+u remove unused volumes
Enter inspect

Service commands

Keybinding Description
i inspect service
l service logs
Ctrl+l service logs with Docker timestamps
Ctrl+r remove service
Ctrl+s scale service
Ctrl+u update service
Enter show service tasks

Moving around buffers

Keybinding Description
ArrowUp move the cursor one line up
ArrowDown move the cursor one line down
g move the cursor to the beginning of the buffer
G move the cursor to the end of the buffer
n after search, move forwards to the next search hit
N after search, move backwards to the previous search hit
s search
pg up move the cursor "screen size" lines up
pg down move the cursor "screen size" lines down

Installation

The easiest way to install the latest binaries for Linux and Mac is to run this in a shell:

curl -sSf https://moncho.github.io/dry/dryup.sh | sudo sh
sudo chmod 755 /usr/local/bin/dry

Binaries

If you dont like to curl | sh, binaries are provided.

Mac OS X / Homebrew

If you're on OS X and want to use homebrew:

brew tap moncho/dry
brew install dry

Docker

docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST=$DOCKER_HOST moncho/dry

Arch Linux

yaourt -S dry-bin

Usage

Open a console, type dry. It will try to connect to:

  • A Docker host given as a parameter (-H).
  • if none given, a Docker host defined in the $DOCKER_HOST environment variable.
  • if not defined, to unix:///var/run/docker.sock.

If no connection with a Docker host succeeds, dry will exit.

dry -p launches dry with pprof package active.

Contributing

All contributions are welcome.

  • Fork the project.
  • Make changes on a topic branch.
  • Pull request.

Copyright and license

Code released under the MIT license. See LICENSE for the full license text.

Credits

Built on top of:

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].