Hi all,
on my VPS I’m running openSUSE Leap 15.3 with LXD 4.21.
I want to setup a mailserver running in a Debian 11 container, but when I launch an instance from “images:debian/11”, the container doesn’t get an IP address. When I start the cloud version of the Debian 11 image, the instance can obtain an IP address:
user@host:~> lxc list
+------------------+---------+---------------------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------------------+---------+---------------------+------+-----------+-----------+
| debian11-cloud | RUNNING | 10.49.82.117 (eth0) | | CONTAINER | 0 |
+------------------+---------+---------------------+------+-----------+-----------+
| debian11-default | RUNNING | | | CONTAINER | 0 |
+------------------+---------+---------------------+------+-----------+-----------+
Do you have any clue, why the default container can’t obtain an IPv4 address?
Thanks and BR,
sandman