Metadata-Version: 2.1
Name: docker-nuke
Version: 0.2.0
Summary: Remove all Docker containers, images, and volumes
Home-page: https://github.com/levi-rs/docker-nuke
Author: Levi Noecker
Author-email: levi.noecker@gmail.com
License: MIT
Keywords: docker docker-utils
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Dist: click
Requires-Dist: docker
Requires-Dist: pbr (>=3.0)

Docker Nuke
===========

|PyPIVersion| |TravisCI| |CoverageStatus| |CodeHealth| |PythonVersions|

.. |TravisCI| image:: https://travis-ci.org/levi-rs/docker-nuke.svg?branch=master
    :target: https://travis-ci.org/levi-rs/docker-nuke
.. |CoverageStatus| image:: https://coveralls.io/repos/github/levi-rs/docker-nuke/badge.svg
   :target: https://coveralls.io/github/levi-rs/docker-nuke
.. |CodeHealth| image:: https://landscape.io/github/levi-rs/docker-nuke/master/landscape.svg?style=flat
   :target: https://landscape.io/github/levi-rs/docker-nuke/master
.. |PyPIVersion| image:: https://badge.fury.io/py/docker-nuke.svg
    :target: https://badge.fury.io/py/docker-nuke
.. |PythonVersions| image:: https://img.shields.io/pypi/pyversions/docker-nuke.svg
    :target: https://wiki.python.org/moin/Python2orPython3

docker-nuke, for when you want to blow away every docker object in sight


Installation
------------
docker-nuke is availiable on PyPI and can be pip installed

.. code-block:: bash

    $ pip install docker-nuke

Running
-------

.. code-block:: bash

    $ docker-nuke
    Stopping container: identidock_identidock_1
    Stopping container: identidock_redis_1
    Stopping container: identidock_dnmonster_1
    Removing container: identidock_identidock_1
    Removing container: identidock_redis_1
    Removing container: identidock_dnmonster_1
    Removing image: ['identidock_identidock:latest']
    Removing image: ['amouat/dnmonster:1.0']
    Removing image: ['python:3.6']
    Removing image: ['redis:3.0']
    Removing volume: 15cd0eca3196513657b12ba9b8d27a7d220f49f6a374124abd21d9aae5672d55


Use the `--force` option to force remove docker objects:

.. code-block:: bash

    $ docker-nuke
    Removing image: ['python:3-foo', 'python:3-slim']
    Stopping/removing failed with status code 409. Rerun with '--force' to force removal
    $ docker-nuke --force
    Removing image: ['python:3-foo', 'python:3-slim']



