Skip to main content

The CLI tool to remove all Docker artifacts from the machine

Project description


Basic script to get rid of Docker images, containers, volumes, and networks


pip install -U --user clean-docker

The package will be installed in your user home directory. See pip documentation about user installs. You need the installation directory to be present in PATH to run clean-docker from the terminal.


$ clean-docker --help
Usage: clean-docker [OPTIONS]

  Remove Docker images, containers, volumes, and networks

  --version  Show the version and exit.
  --help     Show this message and exit.


  • Tested with Python 3.9+
  • You need a Docker daemon running on your machine

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

clean_docker-1.1.1.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

clean_docker-1.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page