Comparing LXD vs. LXC

You probably mean lxd init (and not lxc init, which creates a container but does not launch it).

lxd init is sort of a wizard that helps to configure LXD with some sane defaults.
If you do not like the defaults, you can use a preseed file instead to configure LXD in one go.
Alternatively, you can avoid lxd init altogether and run the set of configuration lxc commands manually to your liking.

Indeed, an issue with lxd init is that as a wizard, it applies each choice as you go along. If it aborts further down the line, the previous configuration (for example, about storage) has already been applied.

3 Likes