Runtime-Specific Configuration

Docker

CPLA connects to Docker using the standard DOCKER_HOST environment variable.

Environment Variable Description Default Value
DOCKER_HOST Docker API socket URL unix:///var/run/docker.sock
Note:

If the Docker daemon uses a non-default API socket, update the value in the CPLA environment file.

containerd

When using containerd, configure the following environment variables as required:

Environment Variable Description Default Value
SBA_CONTAINERD_SOCK Path to containerd API unix socket /run/containerd/containerd.sock
SBA_CONTAINERD_V2_TASK_PATH Path to containerd state directory /run/containerd/io.containerd.runtime.v2.task
SBA_CONTAINERD_NAMESPACE Containerd namespace for containers default

CRI-O

CPLA supports API version configuration for CRI-O.

Environment Variable Description Default Value
SBA_CRI_API_VERSION API version (v1alpha2 or v1) Auto-detected
Note:
  • If not configured, CPLA automatically detects the API version.

  • CPLA always uses the default socket:

    /var/run/crio/crio.sock

  • The CRI-O socket path cannot be changed.