Lxd 3.0.1 with kernel 4.18


I was reading article Behind the scenes with Linux containers https://opensource.com/article/18/11/behind-scenes-linux-containers and while trying the example with lxc-execute I ended up with the errors below. Is there any way to fix this behavior?

$ sudo lxc-execute --name basic --rcfile ~/lxc/mycontainer.conf /bin/bash --logfile ~/lxc/mycontainer.log
lxc-execute: basic: utils.c: safe_mount: 1130 No such file or directory - Failed to mount /dev/pts/2 onto /dev/console
lxc-execute: basic: conf.c: lxc_setup_dev_console: 1771 **Failed to mount "/dev/pts/2" on "/dev/console"**
lxc-execute: basic: start.c: do_start: 1234 Failed to setup container "basic"
lxc-execute: basic: sync.c: __sync_wait: 59 An error occurred in another process (expected sequence number 5)
lxc-execute: basic: start.c: __lxc_start: 1910 Failed to spawn container "basic"
lxc-execute: basic: tools/lxc_execute.c: main: 241 Failed run an application inside container

$ dpkg -l | grep lxc | awk '{print $2,$3,$4}'
liblxc-common 3.0.2-0ubuntu1~18.04.1 amd64
liblxc1 3.0.2-0ubuntu1~18.04.1 amd64
lxc 3.0.2-0ubuntu1~18.04.1 all
lxc-templates 3.0.0-0ubuntu1 amd64
lxc-utils 3.0.2-0ubuntu1~18.04.1 amd64
lxcfs 3.0.2-0ubuntu1~18.04.1 amd64

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

$ uname -a
Linux nibiru 4.18.19-041819-generic #201811131531 SMP Tue Nov 13 20:33:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ ip link show  br0
5: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

$ ip -4 a
5: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    inet scope global br0
       valid_lft forever preferred_lft forever

$  pwd

$ cat mycontainer.conf
lxc.uts.name = opensourcedotcom
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = br0
lxc.net.0.hwaddr = 4a:49:43:49:79:bd
lxc.net.0.ipv4.address =
lxc.net.0.ipv6.address = 2003:db8:1:0:214:1234:fe0b:3596

Marcelo Módolo