Skip to main content

Helps you cleanup Docker images of multiple Docker Compose projects.

Project description

Docker Compose cleanup

https://img.shields.io/pypi/v/docker-compose-cleanup.svg https://img.shields.io/travis/rivol/docker-compose-cleanup.svg

Helps you cleanup Docker images of multiple Docker Compose projects.

Usage

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:
myproject
docker image rm myproject_django:latest myproject_node:latest myproject_celery:latest
pycharm
docker image rm pycharm_helpers:PY-181.4203.547
thtools
docker image rm thtools_app:latest

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

Credits

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

History

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.0.0.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

docker_compose_cleanup-1.0.0-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

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