commands.sh

lxc network

linux

Manage networks for LXD containers.

More info →

Examples (6)

List all available networks

Show the configuration of a specific network

lxc network show network_name

Add a running instance to a specific network

lxc network attach network_name container_name

Create a new managed network

lxc network create network_name

Set a bridge interface of a specific network

lxc network set network_name bridge.external_interfaces eth0

Disable NAT for a specific network

lxc network set network_name ipv4.nat false
made by @shridhargupta | data from tldr-pages