Interface TaskSpecNetworkAttachmentSpec

Read-only spec type for non-swarm containers attached to swarm overlay networks.


> Note: ContainerSpec, NetworkAttachmentSpec, and PluginSpec are > mutually exclusive. PluginSpec is only used when the Runtime field > is set to plugin. NetworkAttachmentSpec is used when the Runtime > field is set to attachment. TaskSpecNetworkAttachmentSpec

interface TaskSpecNetworkAttachmentSpec {
    ContainerID?: string;
}

Properties

Properties

ContainerID?: string

ID of the container represented by this task