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
46.73k stars 2.53k forks source link

getaddrinfo() thread failed to start #601

Closed LiushuiXiaoxia closed 1 year ago

LiushuiXiaoxia commented 1 year ago
Linux jscs-dw-backup-02 5.10.0-72-bili #1b2c9d41a474 SMP Tue Oct 12 15:45:46 HKT 2021 x86_64 GNU/Linux

1
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_CODENAME=stretch
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1    3.0T  2.0T  961G  68% /mnt/storage00
QEMU emulator version 2.8.1(Debian 1:2.8+dfsg-6+deb9u17)
Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 3.0.0
              total        used        free      shared  buff/cache   available
Mem:           250G        1.4G        191G         75M         57G        247G
Swap:           11G        2.7G        8.5G
64
128
crw-rw---- 1 root kvm 10, 232 Dec 20 18:54 /dev/kvm
total 4.0K
drwxrwxrwt  2 root root   16 Dec 20 18:58 .
drwxrwxrwt 12 root root 4.0K Dec 20 19:01 ..
srwxrwxrwx  1 1000 1000    0 Dec 20 18:58 X99
root     54175  0.6  0.0 4672096 100212 ?      Ssl  18:54   0:02 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root     61023  0.0  0.0  14532   976 pts/3    S+   19:02   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
docker:x:999:
kvm:x:114:
libvirt:x:115:
libvirt-qemu:x:64055:libvirt-qemu
docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v "${PWD}/mac_hdd_ng.img:/image" \
    -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:naked
DEVICE_MODEL:       iMacPro1,1
SERIAL_SET_COUNT:   1
OUTPUT_DIRECTORY:   .
Cloning into 'OpenCorePkg'...
fatal: unable to access 'https://github.com/acidanthera/OpenCorePkg.git/': getaddrinfo() thread failed to start
LiushuiXiaoxia commented 1 year ago

docker-osx:naked-auto is also

By using this Dockerfile, you hereby agree that you are a security reseacher or developer and agree to use this Dockerfile to make the world a safer place. Examples include: making your apps safer, finding your mobile phone, compiling security products, etc. You understand that Docker-OSX is an Open Source project, which is released to the public under the GNU Pulic License version 3 and above. You acknowledge that the Open Source project is absolutely unaffiliated with any third party, in any form whatsoever. Any trademarks or intelectual property which happen to be mentioned anywhere in or around the project are owned by their respective owners. By using this Dockerfile, you agree to agree to the EULA of each piece of upstream or downstream software. The following code is released for the sole purpose of security research, under the GNU Public License version 3. If you are concerned about the licensing, please note that this project is not AGPL. A copy of the license is available online: https://github.com/sickcodes/Docker-OSX/blob/master/LICENSE. In order to use the following Dockerfile you must read and understand the terms. Once you have read the terms, use the -e TERMS_OF_USE=i_agree or -e TERMS_OF_USE=i_disagree
Disk is being copied between layers... Please wait a minute...
DEVICE_MODEL:       iMacPro1,1
SERIAL_SET_COUNT:   1
OUTPUT_DIRECTORY:   .
Cloning into 'OpenCorePkg'...
fatal: unable to access 'https://github.com/acidanthera/OpenCorePkg.git/': getaddrinfo() thread failed to start
LiushuiXiaoxia commented 1 year ago

upgrade docker version, its ok

$ docker --version
Docker version 20.10.9, build c2ea9bc