docker-kit
A toolkit for common Docker tasks.
Installation
uvx docker-kit --help
Or install globally:
uv tool install docker-kit
Commands
remove-orphans
Remove stopped containers with hex suffixes (orphaned compose containers).
# Dry run (default) - shows what would be deleted
uvx docker-kit remove-orphans
# Actually delete the containers
uvx docker-kit remove-orphans --apply
uvx docker-kit remove-orphans -a
# Also remove anonymous volumes
uvx docker-kit remove-orphans --apply --volumes
uvx docker-kit remove-orphans -av
# Custom hex suffix lengths (default: 12)
uvx docker-kit remove-orphans --hex-lens 12,64
nuke-kids
Shorthand for remove-orphans --apply --volumes.
uvx docker-kit nuke-kids
Development
# Install dependencies
uv sync
# Run linting
uv run ruff format .
uv run ruff check .
# Run type checking
uv run pyright
# Run tests
uv run pytest -v
License
MIT
Metadata
Release files for docker-kit 0.2.0
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 |
|---|---|---|---|---|
| docker_kit-0.2.0.tar.gz | 13.1 kB | Without provenance | Details for docker_kit-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docker_kit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for docker_kit-0.2.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / docker_kit-0.2.0.tar.gz
| Download URL | docker_kit-0.2.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83a38c41e1203e12c97e835dc3f017ddb743318bcb7ca3c4b8f7adb498fd5a6b
|
|
BLAKE2b-256 checksum How to use checksums |
263a4f21bbbcec9bb39afbd42ccaffa5be9efd51e8726fff3075a83b4d3dffc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / docker_kit-0.2.0-py3-none-any.whl
| Download URL | docker_kit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0566c59076c3ab684dfea3ce1120c0c27c2038f6882e6621a523c4a210727165
|
|
BLAKE2b-256 checksum How to use checksums |
30b8acf0fca569e828bddbd9730140ef04e03aefe03e87d46a9e18168c1d3aba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Security for docker-kit 0.2.0
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.