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.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for docker_nuke-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ca3137b8e07a4c730a4f14720466fe8f05aff94d80853866eba08b3a60e74cd |
|
MD5 | a19904c996af2a1e81e79cc0011f99c2 |
|
BLAKE2b-256 | a25788ff4ef8a850c0a62c6bc6fd1ac7ba84ec0c2b6140e9a5d5f4056ba5d8d4 |