Docker0 in containers with docker installed


In the ubuntu desktop I have docker installed, it has:

docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:07:6d:41:06 brd ff:ff:ff:ff:ff:ff
inet brd scope global docker0

in a container(named: third), I installed docker too, this docker has nothing to do with the docker in the host, but lxc list shows same ip:

| third | RUNNING | (docker0) | fd42:48ab:90bd:4118:216:3eff:feaf:eab6 (eth0) | PERSISTENT | |
| | | (eth0) | | | |

I got confused about these two ip with same value, please help me understand this, thanks.

The docker0 address ( is what is assigned by docker the address is I am guessing assigned by LXD