GeekCafe.XYZ
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Welcome to the GeekCafe.XYZ website.
NEW Partner page is up and running. Visit the homepage to see our partners.
The website is still under heavy active development. Some areas of the site might change during your visit as we implement new code.

Go down
avatar
bhl88
Posts Posts : 1
GeekCred GeekCred : 0
Join date Join date : 2020-09-05

Test if MacOSX can be run on VMware or KVM as a container Empty 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.
ChiropracticBender#2073
ChiropracticBender#2073
Admin
Posts Posts : 52
GeekCred GeekCred : 0
Join date Join date : 2020-08-03
Location Location : Canada

Test if MacOSX can be run on VMware or KVM as a container Empty 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:

Test if MacOSX can be run on VMware or KVM as a container Screen-Shot-2020-09-05-at-8-46-27-AM

Run command;
Code:
sudo docker pull sickcodes/docker-osx

Test if MacOSX can be run on VMware or KVM as a container Screen-Shot-2020-09-05-at-8-49-24-AM

Start the container;
Code:
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
ChiropracticBender#2073
ChiropracticBender#2073
Admin
Posts Posts : 52
GeekCred GeekCred : 0
Join date Join date : 2020-08-03
Location Location : Canada

Test if MacOSX can be run on VMware or KVM as a container Empty 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#2073
ChiropracticBender#2073
Admin
Posts Posts : 52
GeekCred GeekCred : 0
Join date Join date : 2020-08-03
Location Location : Canada

Test if MacOSX can be run on VMware or KVM as a container Empty 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
Ubuntu
Code:
sudo pacman -S qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf
Arch
ChiropracticBender#2073
ChiropracticBender#2073
Admin
Posts Posts : 52
GeekCred GeekCred : 0
Join date Join date : 2020-08-03
Location Location : Canada

Test if MacOSX can be run on VMware or KVM as a container Empty 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!!!
Sponsored content

Test if MacOSX can be run on VMware or KVM as a container Empty Re: Test if MacOSX can be run on VMware or KVM as a container

Back to top
Permissions in this forum:
You cannot reply to topics in this forum