I’m trying to set up LXD on Ubuntu 18.04 (clean install, no prior LXC/D) but am running into some issues.
sudo lxd init with limited success:
bridge creation failed with
Failed to automatically find an unused IPv6 subnet, manual configuration required, so I did that manually with
Btrfs subvolume does NOT get created for the user, as the storage prompts (imo) suggest. I had to do it manually, i.e.
# Btrfs sudo btrfs subvolume create /path/to/btr-store/lxc #LXD sudo lxc storage create lxc btrfs source=/path/to/btr-store/lxc
Now I still have the following roadblocks:
~/.config/lxcis owned by root with
rwxr-x---permissions. Is that correct? It means that I cannot invoke
lxcwithout superuser permissions.
- Creating a container, I get
Error: Failed container creation: No root device could be found.
Any suggestions welcome.