DockerSdk
the .NET SDK for Docker
Properties | List of all members
DockerSdk.Networks.AttachNetworkOptions Class Reference

Options for how to attach a Docker network to a Docker container. More...

Properties

ISet< string > ContainerAliases = new SortedSet<string>() [get]
 Gets an editable set of network-scoped aliases to apply to the container. More...
 
Dictionary< string, string > DriverOptions = new() [get]
 Gets an editable listing of driver options to apply to the the endpoint. More...
 
IPAddress? IPv4Address [get, set]
 Gets or sets the IPv4 address to use for the container on this network. If this is null, Docker will automatically assign an IPv4 address from the network's range. More...
 
IPAddress? IPv6Address [get, set]
 Gets or sets the IPv6 address to use for the container on this network. If this is null, and the network supports IPv6, Docker will automatically assign an IPv6 address from the network's range. More...
 

Detailed Description

Options for how to attach a Docker network to a Docker container.

Property Documentation

◆ ContainerAliases

ISet<string> DockerSdk.Networks.AttachNetworkOptions.ContainerAliases = new SortedSet<string>()
get

Gets an editable set of network-scoped aliases to apply to the container.

◆ DriverOptions

Dictionary<string, string> DockerSdk.Networks.AttachNetworkOptions.DriverOptions = new()
get

Gets an editable listing of driver options to apply to the the endpoint.

◆ IPv4Address

IPAddress? DockerSdk.Networks.AttachNetworkOptions.IPv4Address
getset

Gets or sets the IPv4 address to use for the container on this network. If this is null, Docker will automatically assign an IPv4 address from the network's range.

◆ IPv6Address

IPAddress? DockerSdk.Networks.AttachNetworkOptions.IPv6Address
getset

Gets or sets the IPv6 address to use for the container on this network. If this is null, and the network supports IPv6, Docker will automatically assign an IPv6 address from the network's range.


The documentation for this class was generated from the following file: