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
48.63k stars 2.71k forks source link

`monterey` installation stuck on `powerd[187]: Assertion ClientDied. Type:UserIsActive Name: 'Bluetooth Fatal Error` Id:0x9000080cc Process:bluetoothd [System: PrevIdle DeclUser kDIsp]` #795

Open eval-exec opened 3 months ago

eval-exec commented 3 months ago

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

Linux Mufasa 6.6.45 #1-NixOS SMP PREEMPT_DYNAMIC Sun Aug 11 10:47:28 UTC 2024 x86_64 GNU/Linux
:0
[sudo] password for exec:
1
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
VERSION_CODENAME=uakari
Filesystem                                              Size  Used Avail Use% Mounted on
/dev/disk/by-uuid/80296411-3bbc-4222-a884-f123a39cb6a8  3.6T  2.7T  683G  81% /
QEMU emulator version 8.2.6
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
/run/current-system/sw/bin/libvirtd (libvirt) 10.0.0
               total        used        free      shared  buff/cache   available
Mem:            93Gi       9.0Gi        75Gi       2.6Gi       9.0Gi        81Gi
Swap:           95Gi          0B        95Gi
20
40
Permissions   Size User Date Modified Name
crw-rw-rw-  10,232 root 17 Aug 00:42   /dev/kvm
Permissions Size User Date Modified Name
srwxr-xr-x     - exec 17 Aug 00:40   X0
root        1929  0.7  0.0 3410244 93420 ?       Ssl  00:40   0:07 /nix/store/w6rxc4wsil2s8z261mkli8mk3g54v7wy-moby-25.0.6/libexec/docker/dockerd --config-file=/nix/store/mi7f3q4x7m22l5m3dj2n8y2m5waflbp4-daemon.json
exec      100981  0.0  0.0   6704  2240 pts/1    S+   00:56   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
d8a205d0b639   sickcodes/docker-osx:monterey   "/bin/bash -c 'sudo …"   5 hours ago   Up 13 minutes   0.0.0.0:50922->10022/tcp, :::50922->10022/tcp   macos12
libvirtd:x:67:exec
docker:x:131:exec
qemu-libvirtd:x:301:
kvm:x:302:

Hello, I launch macos by:

#!/usr/bin/env bash
docker run \
    --env http_proxy="http://127.0.0.1:20171" \
    --env http_proxys="http://127.0.0.1:20171" \
    -it \
    --name macos12 \
    --device /dev/kvm \
    -p 50922:10022 \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e GENERATE_UNIQUE=true \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    sickcodes/docker-osx:monterey

image

It show I need 21hours to remainning to installation. image