I have an application which can build and run LXD container.
This application is wrapped in a micro-service which I would like to deploy
I think technically this should work to run LXD inside a privileged docker container and for that matter inside a privileged pod on k8s.
I found this to run LXC inside docker: https://github.com/micw/docker-lxc
But LXD is a bigger challenge since it installs from snap which is pain to run inside a docker image.
My question is are there resources on how to run LXD inside docker?
If not what are alternatives currently I think the best way to achive this is to run it with something like nomad.