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.
Free software: ISC license
Documentation: https://docker-compose-cleanup.readthedocs.io.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for docker-compose-cleanup-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b112d4c599e8fad852a7b041f67c6581a3b63a59fc3bd01a98edc9bcdcb4f9b |
|
MD5 | cb9b0091851e19a4e8a9a3623b9efe88 |
|
BLAKE2b-256 | 5da4cdc92000e24da8c25628ca909f7e91a69995867ea8d304a8f3759c760295 |
Hashes for docker_compose_cleanup-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae3bb5fc8fcd5760830f9a5dc9e759c3e4321eb33c2c019cc8af435c2d86b0f3 |
|
MD5 | b30f8fc2ed04b7f34af24c276278034a |
|
BLAKE2b-256 | 2c84d3a4dedb50c62a67dcc427a540db82ac8f392a5ee0ccdeac3ffbccd30c9f |