Forrest logo
back to context overview

lxc-network

List of commands for lxc-network:

  • lxc-network:tldr:22243 lxc-network: Set a bridge interface of a specific network.
    $ lxc network set ${network_name} bridge.external_interfaces ${eth0}
    try on your machine
    explain this command
  • lxc-network:tldr:6f98e lxc-network: List all available networks.
    $ lxc network list
    try on your machine
    explain this command
  • lxc-network:tldr:81ee5 lxc-network: Create a new managed network.
    $ lxc network create ${network_name}
    try on your machine
    explain this command
  • lxc-network:tldr:a49e4 lxc-network: Add a running instance to a specific network.
    $ lxc network attach ${network_name} ${container_name}
    try on your machine
    explain this command
  • lxc-network:tldr:b2ca5 lxc-network: Disable NAT for a specific network.
    $ lxc network set ${network_name} ipv${4}.nat false
    try on your machine
    explain this command
  • lxc-network:tldr:eef57 lxc-network: Show the configuration of a specific network.
    $ lxc network show ${network_name}
    try on your machine
    explain this command
back to context overview