Skip to content

Infrastructure

Container

An isolated execution environment used to run workloads securely on provider hardware. Containers ensure that each task runs independently without interfering with other processes.

How containers work

A container packages an application with everything it needs to run, including code, libraries, runtime and configuration, into a single image. When the image starts, the container runs as an isolated process on the host. On Linux, that isolation comes from kernel features: namespaces give each container its own view of files, processes and network, and cgroups limit how much CPU and memory it can use. Docker is the best-known tool for building and running containers. Containers can also use GPUs: on NVIDIA hardware, the NVIDIA Container Toolkit exposes the host's GPU driver and devices to the container.

Containers on OpenGPU

Containers are how work is packaged and isolated on OpenGPU. Clients publish containerized execution models, called sources, that bundle code, dependencies and execution parameters, a step known as source publication. Each task then runs in an isolated container on hardware supplied by a provider, and the protocol describes these execution environments as isolated and hardened for safety. Teams can also push their own container via API or CLI and specify GPU requirements, timeout and budget. On the provider side, Linux machines run the Provider Suite with Docker Compose, Docker 24 or later and the NVIDIA Container Toolkit. The protocol page covers how containers fit into task execution.

How is a container different from a virtual machine?

A virtual machine emulates a full computer: a hypervisor runs a complete guest operating system, with its own kernel, for each VM. A container shares the host's kernel and isolates only processes, files and resources. As a result, containers are smaller and start much faster, while virtual machines provide a stronger isolation boundary. Many platforms combine the two by running containers inside virtual machines. For GPU workloads, containers are a common choice because one image can carry the exact framework versions and CUDA libraries a model needs, so it runs the same way on every machine.

What do you want to do?