Run docker containers like they're native commands.
Using containers to work around the dependency problems rather than security, so things actually just work without trying (and failing) to wallpaper your hallway through your letterbox.
Deps:
- nvidia drivers
- nvidia-container-toolkit
podman
Now create a CDI config:
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yamlThen install undockit from pypi. You could use pipx or uv, it'll work all
the same:
pip install undockitTo install a container as an executable, use the install command:
undockit install docker.io/bitplanenet/whisperThis 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