Skip to content
Opod

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 nvidia

Each 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

ImageEngineVendorPlatformsGangProvenBase
opod-leader——amd64, arm64—yesdebian:bookworm-slim
opod-worker-llamacpp-nvidiallama.cppNVIDIAamd64rpcyesghcr.io/ggml-org/llama.cpp:full-cuda + RPC pair
opod-worker-llamacpp-amdllama.cppAMDamd64rpcyesghcr.io/ggml-org/llama.cpp:full-rocm + RPC pair
opod-worker-llamacpp-intelllama.cppIntelamd64rpcyesghcr.io/ggml-org/llama.cpp:full-intel (SYCL) + RPC pair
opod-worker-llamacpp-cpullama.cppCPUamd64, arm64rpcyesghcr.io/ggml-org/llama.cpp:full + RPC pair
opod-worker-vllm-nvidiavLLMNVIDIAamd64rayyes (0.2.1)vllm/vllm-openai (v0.33.0 in 0.3.0)
opod-worker-vllm-amdvLLMAMDamd64—yes (0.2.1)rocm/vllm in 0.2.1; vllm/vllm-openai-rocm in 0.3.0
opod-worker-vllm-intelvLLMIntelamd64—nointel/vllm (XPU) in 0.2.1; vllm/vllm-openai-xpu in 0.3.0
opod-worker-vllm-ttvLLMTenstorrentamd64—yesTenstorrent tt-inference-server
opod-worker-sglang-nvidiaSGLangNVIDIAamd64sglang †yeslmsysorg/sglang (CUDA)
opod-worker-sglang-amdSGLangAMDamd64sglang †nolmsysorg/sglang (ROCm)
opod-worker-sglang-intelSGLangIntelamd64— (sglang in the release after core v0.4.7)no (yes in the release after core v0.4.7)lmsysorg/sglang (XPU)
nvcr-trtllm-nvidiaTensorRT-LLMNVIDIAamd64, arm64—yesnvcr.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-server and a llama-server with --rpc) in /opt/llama-rpc, and says so with the label io.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.1 it is AMD's rocm/vllm RDNA build, for Radeon and Radeon Pro only; Instinct needs a rebuild on the CDNA base. vLLM's docs mark rocm/vllm deprecated and AMD has retired its fork, so from 0.3.0 the image is built on vLLM's own vllm/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-intel there. From 0.3.0 it is built on vLLM's own vllm/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-1G and a mounted model spec. The image carries the 0.10.0-55fd115-aa4ae1e build, so generate the spec with tt-inference-server 0.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 triton attention backend, bf16 weights and no engine flags. No Xe2 card has served yet. Pipeline parallel has not run on Intel. Core v0.4.2's opod image ls still prints no for this image; the release after core v0.4.3 prints yes.
  • TensorRT-LLM is NVIDIA's image, unmodified: its licence forbids distributing a changed copy. A worker pod copies opod and 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.

VariableRoleMeaning
OPOD_ROLEallleader (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_ENGINEleaderOptional.
OPOD_LEADER_URLgateway, workerRequired.
OPOD_ADMIN_TOKENgatewayRequired: the registry and spend reads need an admin key.
OPOD_GATEWAY_IDgatewayDefault: the hostname.
OPOD_DOOR_ROUTESdoorRequired.
OPOD_JOIN_TOKENworkerRequired unless OPOD_NODE_CERT is set.
OPOD_ENGINEworkerllamacpp (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_STARTworkerA 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)workerThe catalog model the worker loads.
OPOD_MODELS_DIRworkerDefault /data/models. Mount a volume there.
OPOD_ENGINE_FLAGSworkerJSON engine flags.
POD_IP, POD_NAMEworkerFrom 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_CAgateway, workerAlso used for the wait below: curl --cacert against a TLS leader.
OPOD_DATA_DIRallDefault /var/lib/opod.
OPOD_CATALOG_DIRallDefault /usr/local/share/opod/catalog.
HF_HOME, LLAMA_CACHEallDefault <models dir>/hf and <models dir>/llamacpp.
OPOD_BASE_ENV_FILEall0.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_MODELleaderPrinted 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=false

The entrypoint:

  • writes config.yaml with data_dir and storage.models_dir (models_dir has no environment variable);
  • exports the embedded catalog to /usr/local/share/opod/catalog when that directory is missing, and sets OPOD_CATALOG_DIR;
  • sets HF_HOME and LLAMA_CACHE under the models directory;
  • sets HOME to 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/healthz every 5 seconds, 120 times (10 minutes), then exits 1;
  • starts a leader, a front door and a cell door with opod up --config <data dir>/config.yaml --no-wizard, OPOD_LISTEN defaulting to :8080; a leader's OPOD_PULL_DEFAULT_MODEL defaults to false, and a front door's is forced to false;
  • starts a worker with opod join "$OPOD_LEADER_URL"; the token stays in OPOD_JOIN_TOKEN, never on the command line;
  • forwards SIGTERM to 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

LabelOnValue
io.opod.leader.featuresopod-leaderThe 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.rpcopod-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 -d

Images 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