erlang-libvirt
erlang-libvirt copied to clipboard
Using libvirt-sandbox
Is it possible to use libvirt-sandbox with this lib? https://www.berrange.com/posts/2012/01/17/building-application-sandboxes-with-libvirt-lxc-kvm/
Thanks
Not directly. libvirt-sandbox uses GObject as its interface, rather than using libvirt calls directly.
You can build sandboxes using erlang-libvirt but you would have to do the configuration yourself. The simplest way is to use the LXC driver.
I wrote this interface mainly to experiment with building sandboxes, so its something I'm interested in improving in the future. Also have a look at verx:
https://github.com/msantos/verx
It doesn't require having libvirt installed.
Let me know if you have any other questions!