Interface: ContainerCreateOptions
Properties
AttachStderr?
optionalAttachStderr:boolean
Whether to attach to stderr (default false)
Source
packages/extension-api/src/extension-api.d.ts:2322
AttachStdin?
optionalAttachStdin:boolean
Whether to attach to stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2312
AttachStdout?
optionalAttachStdout:boolean
Whether to attach to stdout(default false)
Source
packages/extension-api/src/extension-api.d.ts:2317
Cmd?
optionalCmd:string[]
Command to run specified as an array of strings
Source
packages/extension-api/src/extension-api.d.ts:2300
Detach?
optionalDetach:boolean
Run the container in the background
Source
packages/extension-api/src/extension-api.d.ts:2337
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:2307
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:2264
EnvFiles?
optionalEnvFiles:string[]
Environment files to use
Source
packages/extension-api/src/extension-api.d.ts:2269
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:2280
HostConfig?
optionalHostConfig:HostConfig
Container configuration that depends on the host we are running on
Source
packages/extension-api/src/extension-api.d.ts:2285
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:2254
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:2290
Labels?
optionalLabels:Object
User-defined key/value metadata
Index signature
[label: string]: string
Source
packages/extension-api/src/extension-api.d.ts:2274
OpenStdin?
optionalOpenStdin:boolean
Whether to open stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2327
StdinOnce?
optionalStdinOnce:boolean
Close stdin after one attached client disconnects (deafult false)
Source
packages/extension-api/src/extension-api.d.ts:2332
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:2295
User?
optionalUser:string
The user that commands are run as inside the container
Source
packages/extension-api/src/extension-api.d.ts:2259
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:2250
start?
optionalstart:boolean
Start the container immediately (default true)