Skip to main content

run dockerfiles as commands

Project description

undockit

Run docker container endpoints like they're native commands.

Setup

Deps:

  1. nvidia drivers
  2. nvidia container runtime
  3. 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 dockerhub.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

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

undockit-0.0.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

undockit-0.0.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file undockit-0.0.2.tar.gz.

File metadata

  • Download URL: undockit-0.0.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for undockit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7691962d5aafd7c0b9ac6911af9224845a0d30bf75246bf38024bfa5fa25733d
MD5 d2b540bfbdd846e184a77a4f97d7a599
BLAKE2b-256 f0d96a22765c080daa5c8e63848d88a37817e7383cc735115d6400624d7768a8

See more details on using hashes here.

File details

Details for the file undockit-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: undockit-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for undockit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dedc7bf391dd1d380cdbf5f6c182aa3336a92e44db77f20f38f5ecf45c20baaa
MD5 eed559a3d90c3a3867cfdf36e4c2f04e
BLAKE2b-256 68085a30b799ab6f754b997c8cc84982548cf03ad21f4baf7304410053bf61ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page