User modifiable task configuration. TaskSpec

Properties

ContainerSpec?: TaskSpecContainerSpec
ForceUpdate?: number

A counter that triggers an update even if no relevant parameters have been changed.

LogDriver?: TaskSpecLogDriver
NetworkAttachmentSpec?: TaskSpecNetworkAttachmentSpec

Specifies which networks the service should attach to.

Placement?: TaskSpecPlacement
PluginSpec?: TaskSpecPluginSpec
Resources?: TaskSpecResources
RestartPolicy?: TaskSpecRestartPolicy
Runtime?: string

Runtime is the type of runtime specified for the task executor.