Dry-run view of what docker system prune would delete
Project description
docker-prune-plan
See exactly what docker system prune is about to wipe before you hit the big red button and regret it.
Dry-run view of what docker system prune would delete (containers, images, build cache, unused networks; volumes when requested with --volumes). Implemented as a Python CLI.
Install
Option 1: PyPI (Recommended)
The easiest way to install the latest stable version:
pip install docker-prune-plan
Option 2: Github releases
Install the latest release directly:
pip install https://github.com/wahabmangat/docker-prune-plan/releases/download/v0.1.3/docker_prune_plan-0.1.3-py3-none-any.whl
After installation the command docker-prune-plan will be available on your PATH.
Usage
# Default: system view (containers, images, build cache, networks)
docker-prune-plan
# See unused images too (even named ones)
docker-prune-plan --all
# Include volumes (matches docker system prune --volumes)
docker-prune-plan --volumes
# Limit to a specific object type
docker-prune-plan --type volume # or image|container|network|build-cache
# JSON output
docker-prune-plan --json
Requires Docker to be installed and the daemon running. Totals use docker system df, so shared layers are not double-counted.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docker_prune_plan-0.1.3.tar.gz.
File metadata
- Download URL: docker_prune_plan-0.1.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f62751570ed05285318ec84baa3d0da1704723be45b86727294005c620c49bfe
|
|
| MD5 |
dc95e4c77b120bd5a4b307870ce8ede4
|
|
| BLAKE2b-256 |
ef3e6a71aab78c742434b3826f9ec08af27331f7e627c24e9b7e19195425644b
|
File details
Details for the file docker_prune_plan-0.1.3-py3-none-any.whl.
File metadata
- Download URL: docker_prune_plan-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4645c3d77668b02f770a6a155c720d17032f051d6ef6b3c42404db068ca82e1e
|
|
| MD5 |
4bbf38f058e98f8615a09dfef362cbd0
|
|
| BLAKE2b-256 |
7eed3e43aa77e955a51f8aa2632fa0e863d99a4725104fab0be7e1bede5cad97
|