ContainerNetworkAttachment Class

A network a container joins, with the aliases the other containers of that network reach it by.

public sealed class ContainerNetworkAttachment

Properties

NameDescription
AliasesGets the aliases of the container on the network.
NetworkGets the name of the network.
TemporaryNetworkGets the network the library creates when the container is created, or null when the network is an existing one.

Gets the aliases of the container on the network.

public IReadOnlyList<string> Aliases { get; }

Property value

IReadOnlyList<string>

Gets the name of the network.

public string Network { get; }

Property value

string

Gets the network the library creates when the container is created, or null when the network is an existing one.

public TemporaryNetwork? TemporaryNetwork { get; }

Property value

TemporaryNetwork?