Clean old versions of Docker images.
Project description
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).
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
deepclean-0.1.2.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file deepclean-0.1.2.tar.gz
.
File metadata
- Download URL: deepclean-0.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f69502a6cff31e90e612fa5e0ce04c5b3a27ab56c321b05af370b9537f80bde |
|
MD5 | 465d94b5516a0572eefe0054429b07a7 |
|
BLAKE2b-256 | 4327b1c48a5c529285ad1f91d90fa967d4e54c780953659682aecf8fb5cf79ab |
File details
Details for the file deepclean-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: deepclean-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0270b2cfa88e6ef8c8ed496967c2f4fdb268ec516391e96e09590c9471c6c310 |
|
MD5 | df5767e51c8ef4d77ed0ba6c677088cf |
|
BLAKE2b-256 | 85b9ab1c25420f6232be2098e5913ebe57d811f0a957498755e6395878b29773 |