Public | Automated Build

Last pushed: 40 minutes ago
Short Description
Docker image for dry
Full Description


dry is a terminal application to manage Docker containers and images. It aims to be an alternative to the official Docker CLI when it is needed to repeatedly execute commands on existing containers and images, and also as a tool to monitor Docker containers from a terminal.

The demo below shows a dry session.

Upon connecting to a Docker host (local or remote), the main screen will show the list of containers and version information as reported by the Docker Engine. At all times, information about containers, images and networks shown by dry is up-to-date.

Most of the commands that can be executed with the official Docker CLI on containers, images and networks are available in dry, with the exact same behaviour. A list of available commands and their keybinds can be found in dry help screen.

Besides this, it:

  • Shows real-time information about containers.
  • Can sort the container, image and network lists.
  • Can navigate and search the output of info, inspect and logs commands.
  • Makes easier to cleanup old images and containers.

dry keybinds


Keybinding Description
<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>F3</kbd> filter 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>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>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


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

Comments (0)