Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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


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

$ pip install docker-nuke


$ 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.

Files for docker-nuke, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size docker_nuke-0.2.2-py2.py3-none-any.whl (3.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size docker-nuke-0.2.2.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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