Plunger
A tool to inspect and clean gitlab’s docker registry.
Installation
Using pip:
$ pip install plunger
Examples
First export some env var to avoid reapeating command line arguments:
$ export PLUNGER_REGISTRY=https://your.gitlab.registry/ $ export PLUNGER_KEY_FILE=/path/to/your/key
Inspect the registry:
$ # show size used by images, grouped by gitlab group $ plunger --list 1 $ # show sizes only for a group $ plunger --list 2 --filter repository/ $ # show sizes of all tags $ plunger --list 0 --filter repository/path/
Remove some images:
$ # keep 4 latest tags for each repos $ plunger --keep 4 $ # keep 2 latest tags for repos starting with 'repository/' $ plunger --keep 2 --filter repository/ $ # remove all tags for repos starting with 'repository/path/' $ plunger --keep 0 --filter repository/path/
Metadata
Release files for plunger 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plunger-1.0.1.tar.gz | 18.9 kB | Without provenance | Details for plunger-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plunger-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for plunger-1.0.1-py3-none-any.whl |
Total release size: 39.4 kB
Release files / plunger-1.0.1.tar.gz
| Download URL | plunger-1.0.1.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad929187ab8abac9a93f0d56ff1322ebdfb4998b761c781c0dfccb9a2a9dd86e
|
|
BLAKE2b-256 checksum How to use checksums |
07375acff6dc8a751bcaadbe89ae13d57602025b726445bc6f9b8058df72ec54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / plunger-1.0.1-py3-none-any.whl
| Download URL | plunger-1.0.1-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a8fcf3b3cb08c161262f5037f060cc60c7132373eb75348db6baa9e2fc24efe
|
|
BLAKE2b-256 checksum How to use checksums |
895d55de0cc57e2d8f5dcbec337c9a07974ddd1e8e7c29fc5eed6df7284bafdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for plunger 1.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.