- bhl88
- Posts : 1
GeekCred : 0
Join date : 2020-09-05
Test if MacOSX can be run on VMware or KVM as a container
Sat Sep 05, 2020 8:42 am
Github: sickcodes/Docker-OSX
Unable to run MacOSX as a VM, so checking if it can be run as a container.
Unable to run MacOSX as a VM, so checking if it can be run as a container.
- ChiropracticBender#2073Admin
- Posts : 52
GeekCred : 0
Join date : 2020-08-03
Location : Canada
Re: Test if MacOSX can be run on VMware or KVM as a container
Sat Sep 05, 2020 8:45 am
https://github.com/sickcodes/Docker-OSX
SSH into Server with docker installed on it:
Run command;
Start the container;
SSH into Server with docker installed on it:
Run command;
- Code:
sudo docker pull sickcodes/docker-osx
Start the container;
- Code:
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
- ChiropracticBender#2073Admin
- Posts : 52
GeekCred : 0
Join date : 2020-08-03
Location : Canada
Re: Test if MacOSX can be run on VMware or KVM as a container
Sat Sep 05, 2020 9:04 am
Error
- Code:
sudo docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
Unable to init server: Could not connect: Connection refused
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize kvm: Permission denied
- ChiropracticBender#2073Admin
- Posts : 52
GeekCred : 0
Join date : 2020-08-03
Location : Canada
Re: Test if MacOSX can be run on VMware or KVM as a container
Sat Sep 05, 2020 9:14 am
- Code:
sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
- Code:
sudo pacman -S qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf
- ChiropracticBender#2073Admin
- Posts : 52
GeekCred : 0
Join date : 2020-08-03
Location : Canada
Re: Test if MacOSX can be run on VMware or KVM as a container
Sat Sep 05, 2020 10:08 am
my server didn't have enough ram!!!
Permissions in this forum:
You cannot reply to topics in this forum
|
|