add readme and enable nested virtualization with modprode into libvirtd entrypoint

This commit is contained in:
Antoine 2020-07-26 18:17:46 +02:00
parent 1681c69dbe
commit 29eadc7b92
Signed by: antoine
GPG Key ID: 098FB66FC0475E70
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,8 @@ mkdir /sys.devices.container && {
# load modules
modprobe ip6_tables -d /host
# enable nested virtualzation
modprobe kvm_intel nested=1 -d /host
# If no cpuacct,cpu is present, symlink it to cpu,cpuacct
# Otherwise libvirt and our emulator get confused

4
readme.md Normal file
View File

@ -0,0 +1,4 @@
# docker-kvm-qemu-libvirt
docker container for libvirtd deployment