run dockerfiles as commands
Project description
undockit
Run docker containers like they're native commands.
Setup
Deps:
- nvidia drivers
- nvidia-container-toolkit
podman
Now create a CDI config:
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
Then install undockit from pypi. You could use pipx or uv, it'll work all
the same:
pip install undockit
Usage
To install a container as an executable, use the install command:
undockit install docker.io/bitplanenet/whisper
This will add an executable Dockerfile with the undockit runtime as the shebang
into your ~/.local/bin dir or $PREFIX. You can override that location;
see --help for details
You can now run it:
whisper --help
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 undockit-0.0.5.tar.gz.
File metadata
- Download URL: undockit-0.0.5.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
009d5f9f84c64be7fd346684bcee12a9bd5f12327ae6a954dcf2e434a1b36e6d
|
|
| MD5 |
c352789b839f607ad8d71e0e49138a2f
|
|
| BLAKE2b-256 |
fbbf7cbdf5d3695359bf18a303705c29f9b492a8fc79346382a18048a632abac
|
File details
Details for the file undockit-0.0.5-py3-none-any.whl.
File metadata
- Download URL: undockit-0.0.5-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f388eb7342ec20a9bc1ee8cac496148cca65cb999539a9630c9522b1428265d9
|
|
| MD5 |
7ef7121a88aade1f4a7e39a8c5cb0e52
|
|
| BLAKE2b-256 |
d366d1ca6e438e86f87d648b8a9a84a9f440ae4acaf20526515ddaae9037d86a
|