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.3.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.3-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: undockit-0.0.3.tar.gz
  • Upload date:
  • Size: 9.4 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.3.tar.gz
Algorithm Hash digest
SHA256 6d28e1e8598739c9e479e886c9f4787d3c40874048cf97c4e1c56e3d798c9f22
MD5 61da04813201d1c3cf5758001c1a4169
BLAKE2b-256 3df4fa65f748f5795a4e35bd3fc20508231ec505d2f5b32cdaa1fad2caa9a700

See more details on using hashes here.

File details

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

File metadata

  • Download URL: undockit-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b4ae7caaf2aa79b27f429a221642733d1a2be2b551014a63000036074b71f579
MD5 f7f028b10bd2dfb198be7b7607a027ae
BLAKE2b-256 eda90fbc1ae06c42447b44aba759a3d0aeaf6ed93e7dc521a20f75f409d05660

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