Network

The networks to provide to the container.

Properties

Mode

The type of network connection to provide to the container.

OptionLabelDescription
virtual-ethernetVirtual ethernet interfaceConfigure 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.
containerUse another container's networkingConnect this container with a network used in another container.
share-host-interfaceShare host interfaceShare a network interface on this device with the container.
claim-host-interfaceClaim host interfaceConnect a network interface on this device with the container for its exclusive use.
hostUse host networkingUse 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.

OptionLabelDescription
dhcpDHCPUse DHCP to obtain and address.
staticStatic addressStatically configure the containers address on this ionterface.
noneNoneDo not provide and address assignement.
  • Data type: string select
  • Default: dhcp
  • Configuration
  • Required

CLI: (cli)> config compute container <key> network address-assignment