Network
The networks to provide to the container.
- Static address - Static address assignment.
- DHCP address - Address assignment using DHCP.
- Virtual ethernet interface
Properties
Mode
The type of network connection to provide to the container.
| Option | Label | Description |
|---|---|---|
virtual-ethernet | Virtual ethernet interface | Configure a virtual interface direct to the device. The interface is a simple virtual ethernet pipe. One end is an interface in the container, and the other is a network interface on the host device. Packets sent on one is received on the other. |
container | Use another container's networking | Connect this container with a network used in another container. |
share-host-interface | Share host interface | Share a network interface on this device with the container. |
claim-host-interface | Claim host interface | Connect a network interface on this device with the container for its exclusive use. |
host | Use host networking | Use the device's networking addresses, routes, and flow rules. The container must not run applications that bind to network sockets using the same protocol/port that are in use by the device, for example, the SSH server and web interface. |
- Data type: string select
- Default:
virtual-ethernet - Configuration
- Required
CLI: (cli)> config compute container <key> network mode
Host interface
The host host interface to claim/share.
- Data type: reference path
- References instances of: Network / interface
- Configuration
- Required
CLI: (cli)> config compute container <key> network host-interface
Container
Share networking interface with this container.
- Data type: reference path
- References instances of: Compute / Containers
- Configuration
- Required
CLI: (cli)> config compute container <key> network container
Address assignment
Define how the container will obtain and address.
| Option | Label | Description |
|---|---|---|
dhcp | DHCP | Use DHCP to obtain and address. |
static | Static address | Statically configure the containers address on this ionterface. |
none | None | Do not provide and address assignement. |
- Data type: string select
- Default:
dhcp - Configuration
- Required
CLI: (cli)> config compute container <key> network address-assignment
