ContainerDefinition defines a container that will be run on the VM.
ContainerDefinition defines a container that will be run on the VM.
Optional[customReturns a safe value for JSON logs.
Returns a safe value for JSON logs.
Optional[unknownPreserves protobuf fields that this SDK version does not recognize.
Contains the fully qualified protobuf type name.
The command for the container in shell-string format. If not specified, the default entrypoint from the image will be used.
The entrypoint for the container.
Specifies the environment variables for the container.
Enables logs export to Nebius Observability.
OptionalgpuGPU configuration for the container. If not specified, the container will not have access to GPUs. Ignored if the compute instance does not have GPUs.
Contains the case.
Contains the gpu count.
Contains the case.
Contains the all gpus.
Enables host IPC namespace sharing.
Enables host network namespace sharing.
The Docker image to use for the container.
Small files materialized inside the container before it starts.
OptionalmaxThe maximum number of restart attempts for the ON_FAILURE restart policy. If absent or zero, restarts have no limit. A positive value limits the number of restarts. Other restart policies ignore this field. Devlab templates must omit it.
The name of the container. This name is should be unique within the VM app. If not specified, it will be generated based on the image name.
Specifies the ports that the container exposes.
If true, the container will be run in privileged mode.
The docker registry password to configure for the container.
The docker registry username to configure for the container.
The restart policy for the container. If not specified, the default policy is "always".
OptionalruntimeThe user to run the container as.
Shared memory size in bytes.
The volume to be mounted into the container.
The working directory for the container.
ContainerDefinition defines a container that will be run on the VM.