ContainerArgs

data class ContainerArgs(val args: Output<List<String>>? = null, val command: Output<List<String>>? = null, val env: Output<Map<String, String>>? = null, val image: Output<String>? = null, val runAsUser: Output<Int>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<ContainerArgs>

A Docker container.

Constructors

Link copied to clipboard
fun ContainerArgs(args: Output<List<String>>? = null, command: Output<List<String>>? = null, env: Output<Map<String, String>>? = null, image: Output<String>? = null, runAsUser: Output<Int>? = null, workingDir: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ContainerArgs

Properties

Link copied to clipboard
val args: Output<List<String>>? = null

Arguments passed to the entrypoint.

Link copied to clipboard
val command: Output<List<String>>? = null

If set, overrides the default ENTRYPOINT specified by the image.

Link copied to clipboard
val env: Output<Map<String, String>>? = null

Environment variables passed to the container's entrypoint.

Link copied to clipboard
val image: Output<String>? = null

Docker image defining the container. This image must be accessible by the service account specified in the workstation configuration.

Link copied to clipboard
val runAsUser: Output<Int>? = null

If set, overrides the USER specified in the image with the given uid.

Link copied to clipboard
val workingDir: Output<String>? = null

If set, overrides the default DIR specified by the image.