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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page