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.

Source Distribution

docker-compose-cleanup-1.1.0.tar.gz (14.4 kB view hashes)

Uploaded source

Built Distribution

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