dockerclean

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2025 License: MIT

README

Dockerclean

Dockerclean safely analyzes and cleans unused Docker resources, keeping development environments lean and efficient.

Features

  • Analyze disk usage of Docker images, containers, volumes, and build cache.
  • Safe prune: removes unused resources without risking active containers.
  • Full prune: removes all unused Docker resources with confirmation prompt.
  • Color-coded output for quick readability.

Prerequisites

  • Go 1.21 or higher
  • Docker installed and running

Installation

go install github.com/pozadkey/dockerclean/cmd/dockerclean@latest

Usage

Analyze Docker usage:
dockerclean analyze
Safe prune:
dockerclean prune --safe
Normal prune (confirmation required):
dockerclean prune

License

MIT

Directories

Path Synopsis
cmd
dockerclean command
internal
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL