sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.2k stars 1.79k forks source link

Service cannot be loaded on this hardware #633

Open arcln opened 1 year ago

arcln commented 1 year ago

I'm trying to run the VNC version on a headless linux server. I've built the vnc version image, and ran using :

docker run -d -p 5999:5999 --privileged --device /dev/kvm -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' docker-osx-vnc:latest

I am then able to connect with VNC and boot from "macos base image". Then it proceeds to verbose boot and ultimately, I can see errors as shown on the VNC screenshot. Thank you for any help.

Screenshot 2023-02-10 at 17 28 11

OS related issued, please help us identify the issue by posting the output of this

Linux hostname 5.15.0-1028-kvm #33-Ubuntu SMP Tue Jan 24 18:41:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

1
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        58G  9.4G   49G  17% /
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.6)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.0.0
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       967Mi        59Mi        24Mi       6.8Gi       6.7Gi
Swap:             0B          0B          0B
2
4
crw-rw---- 1 root kvm 10, 232 Feb 10 16:24 /dev/kvm
total 8.0K
drwxrwxrwt  2 root   root   4.0K Feb 10 16:24 .
drwxrwxrwt 11 root   root   4.0K Feb 10 13:15 ..
srwxrwxrwx  1 ubuntu ubuntu    0 Feb 10 16:24 X99
root         483  0.6  1.0 1756708 87192 ?       Ssl  12:23   1:39 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
ubuntu     19083  0.0  0.0   7004  2136 pts/0    S+   16:29   0:00 grep dockerd
ccd32cb34b69   docker-osx-vnc:latest   "/bin/bash -c './ena…"   5 minutes ago   Up 5 minutes   0.0.0.0:5999->5999/tcp, :::5999->5999/tcp, 0.0.0.0:10022->22/tcp, :::10022->22/tcp   silly_morse
kvm:x:109:ubuntu
docker:x:999:ubuntu
libvirt:x:123:ubuntu
libvirt-qemu:x:64055:libvirt-qemu
libvirt-dnsmasq:x:124:
sickcodes commented 1 year ago

Same, looking at it currenty