Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

OnBloom/dockercli

Open more actions menu
 
 

Repository files navigation

Stories in Ready PyPI version

dockercli

A CLI with autocompletion and syntax highlighting for Docker commands.

Why?

Docker commands have tons of options. They are hard to remember.

ps

Container names are hard to remember and type.

rm

Same goes for image names.

rmi

There are some handy shortcuts too. What was that command ro remove all dangling images? OMG, what was it? docker rmi $(docker ps --all --quiet)? Oh, there you go:

rmi-dangling

Boom! How about removing all stopped containers?

rm-stopped

Installation

Dockercli is a Python package hosted on pypi and installed with:

$ pip install dockercli

What are you using?

Can I contribute?

Yes! Pull request or issues are welcome.

How do you test it?

First, install the requirements for testing:

$ pip install -r requirements-dev.txt

There are unit tests under tests. The command to run them is:

$ py.test

Additionally, there are integration tests, that can be run with:

$ behave

To see stdout/stderr, use the following command:

$ behave --no-capture

About

A CLI with autocompletion and syntax highlighting for Docker commands.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 99.5%
  • Other 0.5%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.