Clean old versions of Docker images.
Explanation
Remove old versions of images with same name. In cases where you updated an
image (from example from postgres:13 to postgres:14) the old
image is present. Using docker image prune won’t help in this case
since the image is still properly tagged.
Usage
usage: deepclean [-h] [-i INCLUDE] [-e EXCLUDE] [-v] [-V] [-d]
Clean old versions of Docker images.
options:
-h, --help show this help message and exit
-i INCLUDE, --include INCLUDE
Regular expression of images to exclusively prune.
-e EXCLUDE, --exclude EXCLUDE
Regular expression of images to ignore.
-v, --verbose Verbose output
-V, --version show program's version number and exit
-d, --dry-run Dry-run, don't delete
Regular Docker environment variables (like DOCKER_HOST) can be used.-i and -e can be used multiple times.
License
This software is licensed under the MIT license (see the LICENSE.txt
file).
Metadata
Release files for deepclean 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deepclean-0.1.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deepclean-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.0 kB
Release files / deepclean-0.1.2.tar.gz
| Download URL | deepclean-0.1.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f69502a6cff31e90e612fa5e0ce04c5b3a27ab56c321b05af370b9537f80bde
|
|
BLAKE2b-256 checksum How to use checksums |
4327b1c48a5c529285ad1f91d90fa967d4e54c780953659682aecf8fb5cf79ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.8.2 requests/2.27.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.6.8
|
Release files / deepclean-0.1.2-py2.py3-none-any.whl
| Download URL | deepclean-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0270b2cfa88e6ef8c8ed496967c2f4fdb268ec516391e96e09590c9471c6c310
|
|
BLAKE2b-256 checksum How to use checksums |
85b9ab1c25420f6232be2098e5913ebe57d811f0a957498755e6395878b29773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.8.2 requests/2.27.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.6.8
|