Public | Automated Build

Last pushed: 2 days ago
Short Description
Docker image for dry
Full Description


Dry is a terminal application to manage Docker. It shows information about Containers, Images and Networks, and, if running a Docker Swarm, it also shows all kinds of information about the state of the Swarm cluster. It can connect to 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 has, are available in dry with the same behaviour. A list of available commands and their keybinds 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.

dry keybinds


Keybinding Description
<kbd>%</kbd> filter list
<kbd>F1</kbd> sort list
<kbd>F5</kbd> refresh list
<kbd>F8</kbd> show docker disk usage
<kbd>F9</kbd> show last 10 docker events
<kbd>F10</kbd> show docker info
<kbd>1</kbd> show container list
<kbd>2</kbd> show image list
<kbd>3</kbd> show network list
<kbd>4</kbd> show node list (on Swarm mode)
<kbd>5</kbd> show service list (on Swarm mode)
<kbd>ArrowUp</kbd> move the cursor one line up
<kbd>ArrowDown</kbd> move the cursor one line down
<kbd>g</kbd> move the cursor to the top
<kbd>G</kbd> move the cursor to the bottom
<kbd>q</kbd> quit dry

Container commands

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

Image commands

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

Network commands

Keybinding Description
<kbd>Ctrl+e</kbd> remove network
<kbd>Enter</kbd> inspect

Service commands

Keybinding Description
<kbd>i</kbd> inspect service
<kbd>l</kbd> service logs
<kbd>Ctrl+r</kbd> remove service
<kbd>Ctrl+s</kbd> scale service
<kbd>Enter</kbd> show service tasks

Moving around buffers

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


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

curl -sSf | sudo sh
sudo chmod 755 /usr/local/bin/dry


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 run -it -v /var/run/docker.sock:/var/run/docker.sock moncho/dry

Arch Linux

yaourt -S dry-bin


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

dry -p launches dry with pprof package active.


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.


Built on top of:

Also reused some code and ideas from the Docker project.

Docker Pull Command
Source Repository