Lxc container has no IP in PureOS

On pureOS - latest version

In puerOS Boxes - latest Ubuntu installed and in this Ubuntu VM I also installed lxc

  • When creating a container and checking the container details I get IP address
    so far so fine

installing lxc directly on pureOS while containers are created they do not receive IP addresses.

  1. How can I give the container an IP address?
  2. What is the reason that causes for difference between the ubuntu on the VM and the pureOS