From c2db22e680125fcc4ef9cfc3ce1e44d392b66e63 Mon Sep 17 00:00:00 2001 From: name Date: Fri, 5 Jun 2020 00:27:49 +0000 Subject: [PATCH] QEMU on the host --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index e971d7f..bfdbf30 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,29 @@ docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ``` +# Requirements KVM on the host +Need to turn on hardware virtualization in your BIOS, very easy to do. + +Then have QEMU on the host if you haven't already: +``` +# ARCH +sudo pacman -S qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf + +# UBUNTU DEBIAN +sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager + +# CENTOS RHEL FEDORA +sudo yum install libvirt qemu-kvm -y + +# then run +sudo systemctl enable libvirtd.service +sudo systemctl enable virtlogd.service +sudo modprobe kvm + +# reboot + +``` + # Start the same container later (persistent disk) ``` # look at it