Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
docker_nuke-0.2.2-py2.py3-none-any.whl (3.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
docker-nuke-0.2.2.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

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