Class ServiceTaskSpecContainerSpec
Inheritance
System.Object
ServiceTaskSpecContainerSpec
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Docker.dll
Syntax
public sealed class ServiceTaskSpecContainerSpec
Fields
View Source
Args
Arguments to the command.
Declaration
public readonly ImmutableArray<string> Args
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
Commands
The command to be run in the image.
Declaration
public readonly ImmutableArray<string> Commands
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
Configs
See Configs below for details.
Declaration
public readonly ImmutableArray<ServiceTaskSpecContainerSpecConfig> Configs
Field Value
View Source
Dir
The working directory for commands to run in.
Declaration
public readonly string Dir
Field Value
| Type |
Description |
| System.String |
|
View Source
DnsConfig
See DNS Config below for details.
Declaration
public readonly ServiceTaskSpecContainerSpecDnsConfig DnsConfig
Field Value
View Source
Env
A list of environment variables in the form VAR=value.
Declaration
public readonly ImmutableDictionary<string, string> Env
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
|
View Source
Groups
A list of additional groups that the container process will run as.
Declaration
public readonly ImmutableArray<string> Groups
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
Healthcheck
See Healthcheck below for details.
Declaration
public readonly ServiceTaskSpecContainerSpecHealthcheck Healthcheck
Field Value
View Source
Hostname
The hostname to use for the container, as a valid RFC 1123 hostname.
Declaration
public readonly string Hostname
Field Value
| Type |
Description |
| System.String |
|
View Source
Hosts
Declaration
public readonly ImmutableArray<ServiceTaskSpecContainerSpecHost> Hosts
Field Value
View Source
Image
The image used to create the Docker service.
Declaration
public readonly string Image
Field Value
| Type |
Description |
| System.String |
|
View Source
Isolation
Isolation technology of the containers running the service. (Windows only). Valid values are: default|process|hyperv
Declaration
public readonly string Isolation
Field Value
| Type |
Description |
| System.String |
|
View Source
Labels
See Labels below for details.
Declaration
public readonly ImmutableArray<ServiceTaskSpecContainerSpecLabel> Labels
Field Value
View Source
Mounts
See Mounts below for details.
Declaration
public readonly ImmutableArray<ServiceTaskSpecContainerSpecMount> Mounts
Field Value
View Source
Privileges
See Privileges below for details.
Declaration
public readonly ServiceTaskSpecContainerSpecPrivileges Privileges
Field Value
View Source
ReadOnly
Mount the container's root filesystem as read only.
Declaration
public readonly bool? ReadOnly
Field Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
View Source
Secrets
See Secrets below for details.
Declaration
public readonly ImmutableArray<ServiceTaskSpecContainerSpecSecret> Secrets
Field Value
View Source
StopGracePeriod
Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h).
Declaration
public readonly string StopGracePeriod
Field Value
| Type |
Description |
| System.String |
|
View Source
StopSignal
Signal to stop the container.
Declaration
public readonly string StopSignal
Field Value
| Type |
Description |
| System.String |
|
View Source
User
The user inside the container.
Declaration
public readonly string User
Field Value
| Type |
Description |
| System.String |
|