Remove all Docker containers, images, and volumes
Project description
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: 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:
$ 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']
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for docker_nuke-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd46bea4400448fe43d5d6ab0521b240736ddc46fe5a78c8f7ce8ca35db719c9 |
|
MD5 | 943075b188a5405cfc4b1f257787d5b5 |
|
BLAKE2b-256 | 56c1abf6709a4506f1311e5bb26444ec35a332d63444db41ff48f87b45e5c0d8 |