Skip to main content

Remove all Docker containers, images, and volumes

Project description

PyPIVersion TravisCI CoverageStatus CodeHealth PythonVersions

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

$ pip install docker-nuke

Running

$ 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: Succeeded

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

$ docker-nuke --force
Removing image     59507b30b4: Succeeded
Removing image     3fd9065eaf: Succeeded

Project details


Download files

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

Source Distribution

docker-nuke-0.2.2.tar.gz (6.3 kB view hashes)

Uploaded source

Built Distribution

docker_nuke-0.2.2-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page