Finding the platform's containers on a machine
What the platform runs as containers
The platform runs containers on two kinds of machine:
- The control plane machine. Docker Compose runs the control plane as one project.
- Each inference node. The inference node starts and stops the containers of the models you deploy to it, and a few containers of its own.
The name of every container the platform starts begins with onprem-ai-. Most of these containers also carry labels that tell what they belong to. Use the name or a label to find them with docker ps or podman ps. The commands below work the same with podman.
On the control plane machine
Docker Compose runs the control plane under the project name onprem-ai-control-plane. Each container's name is onprem-ai-control-plane-<service>-1, for example onprem-ai-control-plane-backend-1 or onprem-ai-control-plane-postgres-1. Its volumes and its network begin with onprem-ai-control-plane_.
| To see | Command |
|---|---|
| Every control plane container | docker ps -a --filter label=com.docker.compose.project=onprem-ai-control-plane |
| The same, by name | docker ps -a --filter name=onprem-ai-control-plane- |
| The control plane's volumes | docker volume ls --filter label=com.docker.compose.project=onprem-ai-control-plane |
| The services and their state, from the control plane's folder | docker compose --project-name onprem-ai-control-plane ps |
When you update the control plane, it starts a container that installs the update. Its name is onprem-ai-update-job-<update request id> and it carries the label ai.onprem.update-job. It stays on the machine after it stops, because its log is the record of the update. The next update replaces it.
| To see | Command |
|---|---|
| The container of the latest control plane update | docker ps -a --filter label=ai.onprem.update-job |
On an inference node
| Container | Name | Labels |
|---|---|---|
| A container of a deployed model | onprem-ai-replica-<replica id>-<container>, where <container> is the container's name in the model's deploy profile | ai.onprem.inference-node-id, ai.onprem.inference-service-id, ai.onprem.inference-service-replica-id, ai.onprem.container-name, ai.onprem.spec-fingerprint |
| The short check the inference node runs to make sure that containers can use the GPUs | onprem-ai-verification | ai.onprem.inference-node-id |
| The GPU health monitoring | onprem-ai-dcgm-exporter | onprem-ai.inference-node/owned-by=dcgm-health-monitoring |
Each replica of a deployed model has its own network, onprem-ai-replica-<replica id>. It carries the labels ai.onprem.inference-node-id, ai.onprem.inference-service-id and ai.onprem.inference-service-replica-id.
| To see | Command |
|---|---|
| Every container the platform started on this machine | docker ps -a --filter name=onprem-ai- |
| The containers of deployed models, and the GPU check | docker ps -a --filter label=ai.onprem.inference-node-id |
| The containers of one replica | docker ps -a --filter label=ai.onprem.inference-service-replica-id=<replica id> |
| All replicas of one deployed model | docker ps -a --filter label=ai.onprem.inference-service-id=<inference service id> |
| Which model and replica a container belongs to | docker inspect --format '{{json .Config.Labels}}' <container> |
| The networks of deployed models | docker network ls --filter label=ai.onprem.inference-node-id |
The GPU health monitoring container does not carry ai.onprem.inference-node-id. To find it, use its name or its own label: docker ps -a --filter label=onprem-ai.inference-node/owned-by.
Leave these containers to the platform
The inference node starts, stops, replaces and removes its containers to match what you deployed in the control plane. When it starts, it finds its containers again by the label ai.onprem.inference-node-id with its own id. It keeps the running containers of a model that is still deployed, and removes the containers and networks it no longer needs.
- Do not stop, restart or remove these containers by hand. To stop or restart a model, use Undeploy or Restart on the Servers page.
- Do not give your own containers names that begin with
onprem-ai-, or theai.onprem.*labels. A container with one of the platform's names keeps the platform from starting its own container with that name. A container with this inference node's id inai.onprem.inference-node-idis removed as the inference node's own. - To read a model's output, use Live logs or Deployment log on the Servers page (see "Model logs").
docker logs <container>shows the same output on the machine. - Control plane containers stop and start with
docker composein the control plane's folder (see "Installing and updating the control plane").