Runtime Containers
Build Dynamo runtime images for built-in or custom backends
Build Dynamo runtime images for built-in or custom backends
Dynamo runtime images package the Dynamo runtime with an inference engine. The same container build flow can generate images for the built-in engines or a backend that you add on top of the Dynamo runtime.
Use container/render.py to select the engine family and Docker target:
--framework chooses the engine base. Use vllm, sglang, or trtllm for built-in backends. Use none when you want a Dynamo-only base image and plan to install your own backend package.
--target chooses the image shape:
For a Python custom backend, start with a built-in engine image if you need that framework’s CUDA/Python stack, or use --framework=none if your backend brings its own dependencies:
Then layer your backend package into a small Dockerfile:
For a Rust custom backend, build the backend binary in your own builder stage and copy it into the Dynamo runtime image:
Use container/run.sh to launch the image with the same GPU and mount defaults used by Dynamo development workflows:
For the full container build reference, target matrix, and troubleshooting notes, see the repository-level Container Development Guide.