Hi, I’m new to LXD and might have some basic questions—please correct me if I’m wrong.
I previously used Docker to create Ubuntu 18 images for our Circle CI builds. I now upgrading to Ubuntu 22.04, but I’ve encountered a hurdle. After I built my images through Dockerfile, During the Linux build process in Circle CI, I received an error stating, “LXD is required, but not installed.” It appears that LXD cannot be installed directly within Docker.
- How should I approach installing LXD in our build environment? Should I include the LXD installation in the
config.yml
,snapcraft.yaml.in
, or directly in theDockerfile
? - is there a way to avoid this error message? if I don’t think I will be using
LXD
Additionally, if anyone has a template or example that could guide me, it would be greatly appreciated.