Set a bridge interface of a specific network

lxc network

  • Manage networks for LXD containers.
    More information: <https://linuxcontainers.org/lxd/docs/master/networks>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

lxc network set {{network_name}} bridge.external_interfaces {{eth0}}

click the source code to copy install lxc network on any operating system with command-not-found.com