Interface: ContainerCreateOptions
Properties
AttachStderr?
optionalAttachStderr:boolean
Whether to attach to stderr (default false)
Source
packages/extension-api/src/extension-api.d.ts:2435
AttachStdin?
optionalAttachStdin:boolean
Whether to attach to stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2425
AttachStdout?
optionalAttachStdout:boolean
Whether to attach to stdout(default false)
Source
packages/extension-api/src/extension-api.d.ts:2430
Cmd?
optionalCmd:string[]
Command to run specified as an array of strings
Source
packages/extension-api/src/extension-api.d.ts:2413
Detach?
optionalDetach:boolean
Run the container in the background
Source
packages/extension-api/src/extension-api.d.ts:2450
Entrypoint?
optionalEntrypoint:string|string[]
The entry point for the container as a string or an array of strings.
If the array consists of exactly one empty string ([""]) then the entry point is reset to system default (i.e., the entry point used by docker when there is no ENTRYPOINT instruction in the Containerfile).
Source
packages/extension-api/src/extension-api.d.ts:2420
Env?
optionalEnv:string[]
A list of environment variables to set inside the container in the form ["VAR=value", ...]. A variable without = is removed from the environment, rather than to have an empty value
Source
packages/extension-api/src/extension-api.d.ts:2377
EnvFiles?
optionalEnvFiles:string[]
Environment files to use
Source
packages/extension-api/src/extension-api.d.ts:2382
ExposedPorts?
optionalExposedPorts:Object
An object mapping ports to an empty object in the form: {"<port>/<tcp|udp|sctp>": {}}
Index signature
[port: string]: Object
Source
packages/extension-api/src/extension-api.d.ts:2393
HealthCheck?
optionalHealthCheck:HealthConfig
A test to perform to check that the container is healthy.
Source
packages/extension-api/src/extension-api.d.ts:2460
HostConfig?
optionalHostConfig:HostConfig
Container configuration that depends on the host we are running on
Source
packages/extension-api/src/extension-api.d.ts:2398
Hostname?
optionalHostname:string
The hostname to use for the container, as a valid RFC 1123 hostname
Source
packages/extension-api/src/extension-api.d.ts:2367
Image?
optionalImage:string
The name (or reference) of the image to use when creating the container
Source
packages/extension-api/src/extension-api.d.ts:2403
Labels?
optionalLabels:Object
User-defined key/value metadata
Index signature
[label: string]: string
Source
packages/extension-api/src/extension-api.d.ts:2387
OpenStdin?
optionalOpenStdin:boolean
Whether to open stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2440
StdinOnce?
optionalStdinOnce:boolean
Close stdin after one attached client disconnects (deafult false)
Source
packages/extension-api/src/extension-api.d.ts:2445
Tty?
optionalTty:boolean
Attach standard streams to a TTY, including stdin if it is not closed (default false)
Source
packages/extension-api/src/extension-api.d.ts:2408
User?
optionalUser:string
The user that commands are run as inside the container
Source
packages/extension-api/src/extension-api.d.ts:2372
name?
optionalname:string
Assign the specified name to the container. Must match the regular expression/?[a-zA-Z0-9][a-zA-Z0-9_.-]+. If not speficied, the platform assigns a unique name to the container
Source
packages/extension-api/src/extension-api.d.ts:2363
start?
optionalstart:boolean
Start the container immediately (default true)