Interface: ContainerCreateOptions
Properties
ArgsEscaped?
optionalArgsEscaped:boolean
Default: false
Command is already escaped (Windows only)
Source
packages/extension-api/src/extension-api.d.ts:2729
AttachStderr?
optionalAttachStderr:boolean
Whether to attach to stderr (default false)
Source
packages/extension-api/src/extension-api.d.ts:2697
AttachStdin?
optionalAttachStdin:boolean
Whether to attach to stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2687
AttachStdout?
optionalAttachStdout:boolean
Whether to attach to stdout(default false)
Source
packages/extension-api/src/extension-api.d.ts:2692
Cmd?
optionalCmd:string[]
Command to run specified as an array of strings
Source
packages/extension-api/src/extension-api.d.ts:2675
Detach?
optionalDetach:boolean
Run the container in the background
Source
packages/extension-api/src/extension-api.d.ts:2712
Domainname?
optionalDomainname:string
The domain name to use for the container.
Source
packages/extension-api/src/extension-api.d.ts:2629
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:2682
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:2639
EnvFiles?
optionalEnvFiles:string[]
Environment files to use
Source
packages/extension-api/src/extension-api.d.ts:2644
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:2655
HealthCheck?
optionalHealthCheck:HealthConfig
A test to perform to check that the container is healthy. See HealthConfig for usage details
Source
packages/extension-api/src/extension-api.d.ts:2722
HostConfig?
optionalHostConfig:HostConfig
Container configuration that depends on the host we are running on
Source
packages/extension-api/src/extension-api.d.ts:2660
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:2624
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:2665
Labels?
optionalLabels:object
User-defined key/value metadata
Index signature
[label: string]: string
Source
packages/extension-api/src/extension-api.d.ts:2649
MacAddress?
optionalMacAddress:string
MAC address of the container.
Source
packages/extension-api/src/extension-api.d.ts:2749
NetworkConfig?
optionalNetworkConfig:NetworkingConfig
Source
packages/extension-api/src/extension-api.d.ts:2773
NetworkDisabled?
optionalNetworkDisabled:boolean
Disable networking for the container.
Source
packages/extension-api/src/extension-api.d.ts:2744
OnBuild?
optionalOnBuild:string[]
ONBUILD metadata that were defined in the image's Dockerfile.
Source
packages/extension-api/src/extension-api.d.ts:2754
OpenStdin?
optionalOpenStdin:boolean
Whether to open stdin (default false)
Source
packages/extension-api/src/extension-api.d.ts:2702
Shell?
optionalShell:string[]
Shell for when RUN, CMD, and ENTRYPOINT uses a shell.
Source
packages/extension-api/src/extension-api.d.ts:2771
StdinOnce?
optionalStdinOnce:boolean
Close stdin after one attached client disconnects (deafult false)
Source
packages/extension-api/src/extension-api.d.ts:2707
StopSignal?
optionalStopSignal:string
Signal to stop a container as a string or unsigned integer.
Source
packages/extension-api/src/extension-api.d.ts:2759
StopTimeout?
optionalStopTimeout:number
Default: 10
Timeout to stop a container in seconds.
Source
packages/extension-api/src/extension-api.d.ts:2766
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:2670
User?
optionalUser:string
The user that commands are run as inside the container
Source
packages/extension-api/src/extension-api.d.ts:2634
Volumes?
optionalVolumes:object
An object mapping mount point paths inside the container to empty objects.
Index signature
[volume: string]: object