ContainerNetworkAttachment Class
A network a container joins, with the aliases the other containers of that network reach it by.
public sealed class ContainerNetworkAttachmentProperties
| Name | Description |
|---|---|
| Aliases | Gets the aliases of the container on the network. |
| Network | Gets the name of the network. |
| TemporaryNetwork | Gets 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
TemporaryNetwork
ContainerNetworkAttachment.csGets the network the library creates when the container is created, or null when the network is an existing one.
public TemporaryNetwork? TemporaryNetwork { get; }