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.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
Close
Hashes for docker-compose-cleanup-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b0e4f958b58064fa4eb2348f06628a647e65a737dfafb997e03fd1ea1f7e63 |
|
MD5 | 877aa7c2e51aeebeefd98529e750b189 |
|
BLAKE2b-256 | adf14b2e9c564413bf3cf499df5468a848f961b3791c2c1155fd398519bf4dd7 |
Close
Hashes for docker_compose_cleanup-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743012728ff808237ef8ab93bf7e5df78bced3e57f04660cc0f0cc2afc11ce0f |
|
MD5 | 4aba170703c56d3e5f03914530b72a81 |
|
BLAKE2b-256 | 6a59602ffa7433f6cbbcf3af3eddd2df1d99c8ff43e062668a43247b27f6ef23 |