Unable to create LXC Container on Ubuntu16.04

I am trying to create an LXC container on ubuntu16.04 LTS.
LXC and LXD Versions are 2.21.
While Creating a Container, I am getting the issue like
error missing parent ‘br0’ for nic 'eth0’

But if i see the contents of the default LXC profile.
I can see,

devices:
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
root:
path: /
pool: default
type: disk
name: default

The error message is telling you that you don’t have a bridge called br0 on your system.

1 Like

You have non-default configuration in your LXD setup. If you do not need the br0 bridge, you can remove it and setup the easier private NAT networking.