Skip to main content

Dry-run view of what docker system prune would delete

Project description

docker-prune-plan

PyPI version License: MIT

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

docker_prune_plan-0.1.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docker_prune_plan-0.1.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for docker_prune_plan-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f62751570ed05285318ec84baa3d0da1704723be45b86727294005c620c49bfe
MD5 dc95e4c77b120bd5a4b307870ce8ede4
BLAKE2b-256 ef3e6a71aab78c742434b3826f9ec08af27331f7e627c24e9b7e19195425644b

See more details on using hashes here.

File details

Details for the file docker_prune_plan-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_prune_plan-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4645c3d77668b02f770a6a155c720d17032f051d6ef6b3c42404db068ca82e1e
MD5 4bbf38f058e98f8615a09dfef362cbd0
BLAKE2b-256 7eed3e43aa77e955a51f8aa2632fa0e863d99a4725104fab0be7e1bede5cad97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page