A toolkit for common Docker tasks
Project description
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
# Also remove anonymous volumes
uvx docker-kit remove-orphans --apply --volumes
# Custom hex suffix lengths (default: 12)
uvx docker-kit remove-orphans --hex-lens 12,64
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
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
docker_kit-0.1.0.tar.gz
(12.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docker_kit-0.1.0.tar.gz.
File metadata
- Download URL: docker_kit-0.1.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8cf0f1a2c277a2684c09a6f963f5d0a5ceb9ebe93033e59e2b3691214f05e6c
|
|
| MD5 |
c8a8457c009d4793c6b9fb94f799184e
|
|
| BLAKE2b-256 |
da62e3aa2193ce5f1fd5c5db3eb3c60253f557ad65b9658dcdc7c6c28efdc6a7
|
File details
Details for the file docker_kit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: docker_kit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b64a5bba321bcedd61eb5b8b7e3270274b9aecdca7b90ed22cd54a9ee91d36
|
|
| MD5 |
5fa33cea41b1ef82ffde7f169ca3e11d
|
|
| BLAKE2b-256 |
72983fe95db45bdf5760c986b55cb2b393cc031f29e78c5bdf2dd22e08a4023d
|