Skip to main content

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

Install the latest release directly:

pip install https://github.com/wahabmangat/docker-prune-plan/releases/download/v0.1.1/docker_prune_plan-0.1.1-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.2.tar.gz (5.5 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.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file docker_prune_plan-0.1.2.tar.gz.

File metadata

  • Download URL: docker_prune_plan-0.1.2.tar.gz
  • Upload date:
  • Size: 5.5 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.2.tar.gz
Algorithm Hash digest
SHA256 1f02e4b171f46b484d509dcf3c0bd639d85dc8d7dafd63188c5f86556cd360d7
MD5 408cf7fa7f96e7cba4741a5716a980db
BLAKE2b-256 926a0360a47c5ccbc29fd2180085d7f31fc866209a8fb0ecb8dbbeb9fe315416

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_prune_plan-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba3c103c48709261f89db11c46cbf0ac7d7ddd0b758e245b7603fdea7e77a686
MD5 24987743e983f2598b934d23982323e4
BLAKE2b-256 ad8f4ab633e6964587f64bf2c92649ac837beba67584bc66b0fe643fa8ed9ab8

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