Skip to main content

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.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.

Metadata

Release files for docker-compose-cleanup 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docker-compose-cleanup 1.1.0
File Size Uploaded Provenance
docker-compose-cleanup-1.1.0.tar.gz 14.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for docker-compose-cleanup 1.1.0
File Interpreter ABI Platform
docker_compose_cleanup-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 20.1 kB

Release files / docker-compose-cleanup-1.1.0.tar.gz

Download URL docker-compose-cleanup-1.1.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1b112d4c599e8fad852a7b041f67c6581a3b63a59fc3bd01a98edc9bcdcb4f9b
BLAKE2b-256 checksum
How to use checksums
5da4cdc92000e24da8c25628ca909f7e91a69995867ea8d304a8f3759c760295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / docker_compose_cleanup-1.1.0-py2.py3-none-any.whl

Download URL docker_compose_cleanup-1.1.0-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ae3bb5fc8fcd5760830f9a5dc9e759c3e4321eb33c2c019cc8af435c2d86b0f3
BLAKE2b-256 checksum
How to use checksums
2c84d3a4dedb50c62a67dcc427a540db82ac8f392a5ee0ccdeac3ffbccd30c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for docker-compose-cleanup 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page