Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leviable/docker-nuke
Nuke all Docker Containers, Images, and Volumes
https://github.com/leviable/docker-nuke
Last synced: about 2 months ago
JSON representation
Nuke all Docker Containers, Images, and Volumes
- Host: GitHub
- URL: https://github.com/leviable/docker-nuke
- Owner: leviable
- License: mit
- Created: 2017-09-20T02:28:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-13T19:55:52.000Z (about 5 years ago)
- Last Synced: 2024-10-10T22:43:41.237Z (3 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
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/Python2orPython3docker-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 50bd26e339: Succeeded
Removing container 50bd26e339: Succeeded
Removing container 913061d931: Succeeded
Removing image 59507b30b4: Failed (retry with "--force")
Removing image 3fd9065eaf: Failed (retry with "--force")
Removing volume 140bb8e5cc: SucceededUse the ``--force`` option to force remove docker objects:
.. code-block:: bash
$ docker-nuke --force
Removing image 59507b30b4: Succeeded
Removing image 3fd9065eaf: Succeeded