Core reference
Container images
The leader and worker images opod publishes, what each one needs from the node, the entrypoint's environment contract, labels and verification.
In short
Opod publishes one container image per engine and accelerator, plus opod-leader for leaders and doors, at ghcr.io/opod-io/, free to pull. One entrypoint configures every image from environment variables. opod image ls prints the same list offline.
opod image ls --vendor nvidiaEach image runs one engine on one accelerator. It is built from the official upstream image plus a thin opod layer: the opod binary and an entrypoint script. Images are published to ghcr.io/opod-io/ and pull without credentials. There is no floating latest tag: pin a digest.
opod image ls, opod image show IMAGE and opod image recommend MODEL print this table and each image's limits from data embedded in the binary. See opod image.
Images
| Image | Engine | Vendor | Platforms | Gang | Proven | Base |
|---|---|---|---|---|---|---|
opod-leader | — | — | amd64, arm64 | — | yes | debian:bookworm-slim |
opod-worker-llamacpp-nvidia | llama.cpp | NVIDIA | amd64 | rpc | yes | ghcr.io/ggml-org/llama.cpp:full-cuda + RPC pair |
opod-worker-llamacpp-amd | llama.cpp | AMD | amd64 | rpc | yes | ghcr.io/ggml-org/llama.cpp:full-rocm + RPC pair |
opod-worker-llamacpp-intel | llama.cpp | Intel | amd64 | rpc | yes | ghcr.io/ggml-org/llama.cpp:full-intel (SYCL) + RPC pair |
opod-worker-llamacpp-cpu | llama.cpp | CPU | amd64, arm64 | rpc | yes | ghcr.io/ggml-org/llama.cpp:full + RPC pair |
opod-worker-vllm-nvidia | vLLM | NVIDIA | amd64 | ray | yes (0.2.1) | vllm/vllm-openai (v0.33.0 in 0.3.0) |
opod-worker-vllm-amd | vLLM | AMD | amd64 | — | yes (0.2.1) | rocm/vllm in 0.2.1; vllm/vllm-openai-rocm in 0.3.0 |
opod-worker-vllm-intel | vLLM | Intel | amd64 | — | no | intel/vllm (XPU) in 0.2.1; vllm/vllm-openai-xpu in 0.3.0 |
opod-worker-vllm-tt | vLLM | Tenstorrent | amd64 | — | yes | Tenstorrent tt-inference-server |
opod-worker-sglang-nvidia | SGLang | NVIDIA | amd64 | sglang † | yes | lmsysorg/sglang (CUDA) |
opod-worker-sglang-amd | SGLang | AMD | amd64 | sglang † | no | lmsysorg/sglang (ROCm) |
opod-worker-sglang-intel | SGLang | Intel | amd64 | — (sglang in the release after core v0.4.7) | no (yes in the release after core v0.4.7) | lmsysorg/sglang (XPU) |
nvcr-trtllm-nvidia | TensorRT-LLM | NVIDIA | amd64, arm64 | — | yes | nvcr.io/nvidia/tensorrt-llm/release, run unmodified |
Gang says how a worker on the image joins a split model: rpc (llama.cpp RPC parts), ray (vLLM multi-node), or sglang (SGLang's own launcher; rank 0 serves the group). † The sglang value is new in 0.3.0: on 0.2.1 the column reads — for SGLang, and opod image recommend offers no image for a model that SGLang must split. The Intel SGLang image also gangs with the same launcher, by tensor parallel only (see its note below); core v0.4.2's manifest still reads — for it.
Proven means the image has served requests on the hardware it names. 0.3.0 moves the NVIDIA, AMD and Intel vLLM images to vLLM's own v0.33.0 images. On 2026-11-02 the NVIDIA one served on one RTX 3060 Ti and the AMD one on one RX 7900 XTX. The Intel one has not served on its new base.
Notes per image
- llama.cpp. Upstream llama.cpp images ship without the RPC backend. Every
opod-worker-llamacpp-*image adds a built RPC pair (rpc-serverand allama-serverwith--rpc) in/opt/llama-rpc, and says so with the labelio.opod.llamacpp.rpc=true. A llama.cpp image without that label is single-node only. - llama.cpp AMD carries Instinct (gfx908, gfx90a, gfx942) and Radeon (gfx1030, gfx1100–1102, gfx1150–1151, gfx1200–1201) targets in one binary.
- vLLM AMD. In
0.2.1it is AMD'srocm/vllmRDNA build, for Radeon and Radeon Pro only; Instinct needs a rebuild on the CDNA base. vLLM's docs markrocm/vllmdeprecated and AMD has retired its fork, so from0.3.0the image is built on vLLM's ownvllm/vllm-openai-rocm: one build for Instinct (gfx90a, gfx942, gfx950) and Radeon RX 7000 / RX 9000 (gfx1100, gfx1101, gfx1200, gfx1201, plus gfx1150 and gfx1151). It does not cover RDNA2 (RX 6000). The node's amdgpu driver must run ROCm 10.0 userspace; it has served on amdgpu 6.10.5. - vLLM Intel targets Xe2/Xe3 (Arc B-series, Arc Pro B60) and Max. It does not run on Arc A-series; use
opod-worker-llamacpp-intelthere. From0.3.0it is built on vLLM's ownvllm/vllm-openai-xpu. - vLLM Tenstorrent. The image tag must match the tt-metal and vLLM commits of the model spec being served. It needs
/dev/hugepages-1Gand a mounted model spec. The image carries the0.10.0-55fd115-aa4ae1ebuild, so generate the spec withtt-inference-server0.10.1. - SGLang NVIDIA needs NVIDIA driver 580 or newer (CUDA 13). SGLang AMD is Instinct only (MI200/MI300, MI350); a Radeon card serves through llama.cpp or vLLM.
- SGLang Intel is upstream's XPU build. Upstream targets Arc B-series and Arc Pro B-series (Xe2). On 2026-11-07 it served through opod workers on Arc A770 (Xe-HPG) cards: one card, and a model split by tensor parallel 2 across two A770 machines on plain ethernet. Both used the default
tritonattention backend, bf16 weights and no engine flags. No Xe2 card has served yet. Pipeline parallel has not run on Intel. Core v0.4.2'sopod image lsstill printsnofor this image; the release after core v0.4.3 printsyes. - TensorRT-LLM is NVIDIA's image, unmodified: its licence forbids distributing a changed copy. A worker pod copies
opodand the entrypoint in from the leader image with an init container. Pulling it is your acceptance of NVIDIA's terms. One node only.
Entrypoint contract
Every image uses one entrypoint script. It knows nothing about Kubernetes or any manager: it is plain opod configured by environment.
| Variable | Role | Meaning |
|---|---|---|
OPOD_ROLE | all | leader (default), gateway, door or worker. worker runs opod join; the others run opod up with that role. |
OPOD_LISTEN, OPOD_JOIN_TOKEN, OPOD_REQUIRE_KEYS, OPOD_PULL_DEFAULT_MODEL, OPOD_ENGINE | leader | Optional. |
OPOD_LEADER_URL | gateway, worker | Required. |
OPOD_ADMIN_TOKEN | gateway | Required: the registry and spend reads need an admin key. |
OPOD_GATEWAY_ID | gateway | Default: the hostname. |
OPOD_DOOR_ROUTES | door | Required. |
OPOD_JOIN_TOKEN | worker | Required unless OPOD_NODE_CERT is set. |
OPOD_ENGINE | worker | llamacpp (default), vllm, sglang or trtllm; anything else exits 2 with unknown engine. The entrypoint also sets that engine's endpoint variable to its default port when unset (OPOD_LLAMACPP_ENDPOINT http://127.0.0.1:8089, OPOD_VLLM_ENDPOINT and OPOD_TRTLLM_ENDPOINT http://127.0.0.1:8000, OPOD_SGLANG_ENDPOINT http://127.0.0.1:30000). |
OPOD_ENGINE_START | worker | A shell command that starts the engine, for a vendor image whose engine has its own launcher (the Tenstorrent image sets it). The entrypoint runs it beside opod join; opod then only connects to the engine. When either process exits, the container exits 1 so it is restarted. On a stop, the engine is stopped after opod join has drained. Unset = the worker launches the engine on a model load. |
OPOD_LOAD_MODEL (+ OPOD_LOAD_REPO, OPOD_LOAD_FILE) | worker | The catalog model the worker loads. |
OPOD_MODELS_DIR | worker | Default /data/models. Mount a volume there. |
OPOD_ENGINE_FLAGS | worker | JSON engine flags. |
POD_IP, POD_NAME | worker | From the Kubernetes downward API. POD_IP sets OPOD_ADVERTISE_ADDR=$POD_IP:8081 and POD_NAME sets OPOD_NODE_ID=n_$POD_NAME, each only when that variable is unset. |
OPOD_LEADER_CA | gateway, worker | Also used for the wait below: curl --cacert against a TLS leader. |
OPOD_DATA_DIR | all | Default /var/lib/opod. |
OPOD_CATALOG_DIR | all | Default /usr/local/share/opod/catalog. |
HF_HOME, LLAMA_CACHE | all | Default <models dir>/hf and <models dir>/llamacpp. |
OPOD_BASE_ENV_FILE | all | 0.2.1 only, removed in 0.3.0: no base image needs it once the Intel vLLM worker runs on vllm/vllm-openai-xpu. In 0.2.1 it names a script (and its arguments) the entrypoint sources once before it starts anything, such as Intel's oneAPI setvars.sh. Default /usr/local/share/opod/base-env; absent = nothing is sourced. A file that names a missing script stops the container. |
OPOD_ENDPOINT_MODEL | leader | Printed in the entrypoint's start line only. It changes nothing. |
Run a leader, a worker, a front door and a cell door from the images (replace <version> with a release tag, and pin by digest in production):
docker run -d --name leader -p 8080:8080 -v opod-leader:/var/lib/opod \
-e OPOD_ROLE=leader -e OPOD_JOIN_TOKEN=sk-orc-<node-token> -e OPOD_REQUIRE_KEYS=1 \
-e OPOD_ENDPOINT_MODEL=llama-3.2-3b \
ghcr.io/opod-io/opod-leader:<version>
docker run -d --name worker --gpus all --network host -v /data/models:/data/models \
-e OPOD_ROLE=worker -e OPOD_LEADER_URL=http://192.0.2.10:8080 -e OPOD_JOIN_TOKEN=sk-orc-<node-token> \
-e OPOD_ENGINE=llamacpp -e OPOD_LOAD_MODEL=llama-3.2-3b -e OPOD_MODELS_DIR=/data/models \
-e OPOD_ADVERTISE_ADDR=192.0.2.51:8081 \
ghcr.io/opod-io/opod-worker-llamacpp-nvidia:<version>
docker run -d --name front -p 8090:8080 \
-e OPOD_ROLE=gateway -e OPOD_LEADER_URL=http://192.0.2.10:8080 \
-e OPOD_ADMIN_TOKEN=sk-orc-<admin-key> -e OPOD_GATEWAY_ID=front-1 \
ghcr.io/opod-io/opod-leader:<version>
docker run -d --name door -p 8095:8080 -v /etc/opod-door:/etc/opod-door:ro \
-e OPOD_ROLE=door -e OPOD_DOOR_ROUTES=/etc/opod-door/routes.json \
ghcr.io/opod-io/opod-leader:<version>The worker binds its API to OPOD_ADVERTISE_ADDR, so it runs with --network host here: 192.0.2.51 must be an address of the host. From core v0.4.0, a container on a bridge network can instead set OPOD_BIND_ADDR=0.0.0.0 and publish the port (-p 8081:8081); the worker warns, because llama.cpp's rpc-server would then listen on every interface of the container.
Overrides of the image defaults, for example a different data and catalog directory, an engine launched by its own script and a vLLM worker with flags:
-e OPOD_DATA_DIR=/srv/opod -e OPOD_CATALOG_DIR=/srv/opod/catalog
-e OPOD_ENGINE=vllm -e OPOD_ENGINE_FLAGS='{"max_model_len":"32768"}'
-e OPOD_LOAD_MODEL=llama-3.2-3b -e OPOD_LOAD_REPO=bartowski/Llama-3.2-3B-Instruct-GGUF -e OPOD_LOAD_FILE=Llama-3.2-3B-Instruct-Q4_K_M.gguf
-e OPOD_ENGINE_START='/opt/start-engine.sh --port 8000'
-e OPOD_LEADER_CA=/etc/opod/ca.crt -e OPOD_LISTEN=:8080 -e OPOD_PULL_DEFAULT_MODEL=falseThe entrypoint:
- writes
config.yamlwithdata_dirandstorage.models_dir(models_dir has no environment variable); - exports the embedded catalog to
/usr/local/share/opod/catalogwhen that directory is missing, and setsOPOD_CATALOG_DIR; - sets
HF_HOMEandLLAMA_CACHEunder the models directory; - sets
HOMEto the data directory when the container has no writable home (non-root, restricted pods); - for a front door and a worker, waits for the leader:
GET $OPOD_LEADER_URL/healthzevery 5 seconds, 120 times (10 minutes), then exits1; - starts a leader, a front door and a cell door with
opod up --config <data dir>/config.yaml --no-wizard,OPOD_LISTENdefaulting to:8080; a leader'sOPOD_PULL_DEFAULT_MODELdefaults tofalse, and a front door's is forced tofalse; - starts a worker with
opod join "$OPOD_LEADER_URL"; the token stays inOPOD_JOIN_TOKEN, never on the command line; - forwards
SIGTERMto the opod process and waits, so a stopping worker says goodbye and drains.
Front doors and cell doors hold no weights; their models directory defaults to <data dir>/models.
Every worker environment variable also applies.
Labels
| Label | On | Value |
|---|---|---|
io.opod.leader.features | opod-leader | The leader's feature keys, comma-separated and sorted — the output of opod version --features. A manager can read what a pinned leader speaks before running it. |
io.opod.llamacpp.rpc | opod-worker-llamacpp-* | true when the image carries the RPC pair. |
Read labels from the registry without pulling:
crane config ghcr.io/opod-io/opod-leader@sha256:<digest> | jq '.config.Labels'Verify
Release images are signed keyless through Sigstore and carry a package-level SPDX SBOM attestation:
cosign verify \
--certificate-identity-regexp 'https://github.com/opod-io/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/opod-io/opod-leader:<version>
cosign verify-attestation --type spdxjson \
--certificate-identity-regexp 'https://github.com/opod-io/opod-core/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/opod-io/opod-worker-vllm-nvidia@sha256:<digest> | jq -r .payload | base64 -dImages built outside the release workflow are not signed.
Never build on cluster nodes
Images are built once, pushed, and pinned by digest. Every upstream base is itself pinned by digest in the Dockerfiles, so a build is reproducible from its commit.
Last updated · Source: content/docs/core-reference/images.mdx · View as Markdown