Docker-OSX
Docker-OSX copied to clipboard
Cannot boot monterey
I just run
docker run -it \
--device /dev/kvm \
-p 50922:10022 \
-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' \
sickcodes/docker-osx:monterey
and it started to install macos normally, but cannot boot after installing, ending up printing repeatly like this:

OS related issued, please help us identify the issue by posting the output of this
$ uname -a \
; echo "${DISPLAY}" \
; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \
; grep NAME /etc/os-release \
; df -h . \
; qemu-system-x86_64 --version \
; libvirtd --version \
; free -mh \
; nproc \
; egrep -c '(svm|vmx)' /proc/cpuinfo \
; ls -lha /dev/kvm \
; ls -lha /tmp/.X11-unix/ \
; ps aux | grep dockerd \
; docker ps | grep osx \
; grep "docker\|kvm\|virt" /etc/group
Linux archlinux 5.16.15-arch1-1 #1 SMP PREEMPT Thu, 17 Mar 2022 00:30:09 +0000 x86_64 GNU/Linux
:0
1
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p3 884G 217G 623G 26% /
QEMU emulator version 6.2.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 8.1.0
total used free shared buff/cache available
Mem: 31Gi 4.7Gi 2.3Gi 206Mi 24Gi 26Gi
Swap: 31Gi 27Mi 31Gi
16
16
crw-rw-rw- 1 root kvm 10, 232 Mar 28 10:58 /dev/kvm
total 0
drwxrwxrwt 2 root root 60 Mar 28 00:56 .
drwxrwxrwt 18 root root 680 Mar 28 11:04 ..
srwxrwxrwx 1 root root 0 Mar 28 00:56 X0
root 713 0.8 0.2 2488556 80152 ? Ssl 08:56 1:07 /usr/bin/dockerd -H fd://
martinit 51172 0.0 0.0 9760 2604 pts/2 S+ 11:07 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
18a19d244cc8 sickcodes/docker-osx:monterey "/bin/bash -c 'sudo …" About an hour ago Up 8 minutes 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp vibrant_kowalevski
kvm:x:992:libvirt-qemu
docker:x:968:martinit
libvirt:x:967:
libvirt-qemu:x:961: