Task Spec
constructor(pluginSpec: TaskSpecPluginSpec? = null, containerSpec: TaskSpecContainerSpec? = null, networkAttachmentSpec: TaskSpecNetworkAttachmentSpec? = null, resources: TaskSpecResources? = null, restartPolicy: TaskSpecRestartPolicy? = null, placement: TaskSpecPlacement? = null, forceUpdate: Int? = null, runtime: String? = null, networks: List<NetworkAttachmentConfig>? = null, logDriver: TaskSpecLogDriver? = null)
Parameters
plugin Spec
container Spec
network Attachment Spec
resources
restart Policy
placement
force Update
A counter that triggers an update even if no relevant parameters have been changed.
runtime
Runtime is the type of runtime specified for the task executor.
networks
Specifies which networks the service should attach to.
log Driver