Interface NetworkAttachmentConfig

Specifies how a service should be attached to a particular network. NetworkAttachmentConfig

interface NetworkAttachmentConfig {
    Aliases?: string[];
    DriverOpts?: {
        [key: string]: string;
    };
    Target?: string;
}

Properties

Aliases?: string[]

Discoverable alternate names for the service on this network.

DriverOpts?: {
    [key: string]: string;
}

Driver attachment options for the network target.

Target?: string

The target network for attachment. Must be a network name or ID.