Skip to main content

run dockerfiles as commands

Project description

undockit

Run docker containers like they're native commands.

Setup

Deps:

  1. nvidia drivers
  2. nvidia-container-toolkit
  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 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

undockit-0.0.4.tar.gz (9.4 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.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for undockit-0.0.4.tar.gz
Algorithm Hash digest
SHA256 11bbcfa5eb40db4afe57d33c7b9fc9567ab6e8cfe8c4d784400bcff0895aa224
MD5 a3a7dabc74af9f204da6474401ef3397
BLAKE2b-256 6770750685c3a3249458919f6819ae8a38de85a6da03a8b105b8682e8a826c8d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for undockit-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 72cfb4cc59319394e06e158986f921648c6bb91c014426942ab498a14dd04290
MD5 a7831bde2a8d2c0c6f2c488337b8ddb8
BLAKE2b-256 489c83799bd55dcea29f0df43e8f77c15a0d595d1cf828663795e2dc27bf4e44

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