How do I make a basic Ubuntu:22.04 image for LXD/LXC?

I have done the Docker tutorial which worked fine. But now I want to do an image for LXD and I have tried to apply what I learnt on the Docker but I just can’t seem to get an image built.

How would I build a basic 22.04 image and change the Hostname? And install something like Apache?

Thanks :slightly_smiling_face: