Skip to main content
Help us improve Python packaging – donate today!

Utility to easily remove Docker containers and Images through string matching

Project Description

.. image:: https://badge.fury.io/py/docker_remove.svg
:target: https://badge.fury.io/py/docker_remove
=============
Docker Remove
=============

Utility to easily remove Docker Container(s)/Image(s) through string matching

+ `Installation`_
+ `Usage`_
+ `Examples`_

------------
Installation
------------
``pip install docker_remove``

-----
Usage
-----

Help
----

::

╰─$ docker_remove --help
usage: docker_remove [-h] [--container CONTAINER] [--image IMAGE]
[--name NAME] [-a] [-f]

Use this simple command to remove Docker container(s) or images(s) through
string matching.

optional arguments:
-h, --help show this help message and exit
--container CONTAINER, -c CONTAINER
Flag to remove Docker container(s) only
--image IMAGE, -i IMAGE
Flag to remove Docker image(s) only
--name NAME, -n NAME Flag to remove both Docker container(s) and image(s)
-a Flag to remove hidden container(s)/image(s)
-f Flag to forcefully remove container(s)/image(s)


Remove Containers
-----------------

::

docker_remove -c string
docker_remove --container string

Remove Images
-------------

::

docker_remove -i string
docker_remove --image string

Remove both Containers and Images
---------------------------------

::

docker_remove -n string
docker_remove --name string

Remove hidden Container/Image
-----------------------------

::

docker_remove -a --container string
docker_remove -a -c string
docker_remove -a --image string
docker_remove -a -i string
docker_remove -a --name string
docker_remove -a -n string

Remove Container/Image Forcefully
---------------------------------

::

docker_remove -f --container string
docker_remove -f -c string
docker_remove -f --image string
docker_remove -f -i string
docker_remove -f --name string
docker_remove -f -n string

--------
Examples
--------
.. image:: img/screenshot-1.png
.. image:: img/screenshot-2.png
.. image:: img/screenshot-3.png

Release history Release notifications

This version
History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
docker_remove-1.0.5.tar.gz (515.4 kB) Copy SHA256 hash SHA256 Source None Feb 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page