Libvirt Sandbox: An application sandbox toolkit
News: Wed 1st July, 2015: Release 0.6.0 “Dashti Margo” available for download
The Libvirt Sandbox project is an effort to facilitate the use of libvirt virtualization drivers for the purpose of sandboxing applications. The key features of the project are:
- Choice of using LXC, QEMU or KVM as the virtualization technology to build the sandbox
- Licensed under terms of the LGPL version 2 or later
- Built on top of the libvirt-glib libraries (including libvirt-gconfig & libvirt-gobject)
- Provides a high level API to enable the construction of sandboxes
- Isolation from the need to understand the virtualization technology configuration
- Provides a “
virt-sandbox
” command line tool for running interactive commands - Provides a “
virt-sandbox-service
” command line tool for provisioning system services - Integration with systemd to setup service unit files inside a sandbox
Using libvirt-sandbox is as simple as running (as root)
# virt-sandbox -c lxc:/// /bin/sh
Or using KVM as non-root
# virt-sandbox -c qemu:///session /bin/sh