Skip to main content

Helps you cleanup Docker images of multiple Docker Compose projects.

Project description

Docker Compose cleanup

Helps you cleanup Docker images of multiple Docker Compose projects.


Install with

$ pip install docker-compose-cleanup

Once installed, just run

$ docker-compose-cleanup
$ # Or, alternatively
$ doco-cleanup

The script will print out commands to remove Docker images related to Docker Compose projects, grouped by projects, e.g.:

Images without tags:
docker image rm sha256:c8f20d0f9a sha256:462683af4d
Project images:
docker image rm myproject_django:latest myproject_node:latest myproject_celery:latest
docker image rm pycharm_helpers:PY-181.4203.547
docker image rm thtools_app:latest

You can then simply copy & paste to get rid of the specific projects.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


1.1.0 (2018-04-19)

  • Add colored output, to make project names more visible.
  • Add --version commandline option.

1.0.0 (2018-04-12)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for docker-compose-cleanup, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size docker_compose_cleanup-1.1.0-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size docker-compose-cleanup-1.1.0.tar.gz (14.4 kB) File type Source Python version None Upload date Hashes View

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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page