Monterey not loading could not resolve github.com #411

Open
opened 2025-12-29 00:26:43 +01:00 by adam · 12 comments
Owner

Originally created by @MSBlueVn on GitHub (Oct 23, 2022).

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

DEVICE_MODEL:       iMacPro1,1
SERIAL_SET_COUNT:   1
OUTPUT_DIRECTORY:   .
Cloning into 'OpenCorePkg'...
fatal: unable to access 'https://github.com/acidanthera/OpenCorePkg.git/': Could not resolve host: github.com

running this with portainer with the basic command, and also through the docker command nativaely. github is reachable from my host, and from other dockers.

when I removed the line: MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'
It launches but fails on:

ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize ADC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `adc'
gtk initialization failed
(qemu) 
Originally created by @MSBlueVn on GitHub (Oct 23, 2022). # 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 ``` DEVICE_MODEL: iMacPro1,1 SERIAL_SET_COUNT: 1 OUTPUT_DIRECTORY: . Cloning into 'OpenCorePkg'... fatal: unable to access 'https://github.com/acidanthera/OpenCorePkg.git/': Could not resolve host: github.com ``` running this with portainer with the basic command, and also through the docker command nativaely. github is reachable from my host, and from other dockers. when I removed the line: `MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'` It launches but fails on: ``` ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default alsa: Could not initialize ADC alsa: Failed to open `default': alsa: Reason: No such file or directory audio: Failed to create voice `adc' gtk initialization failed (qemu) ```
Author
Owner

@yasscaleb commented on GitHub (Oct 28, 2022):

run the command with --network=host

@yasscaleb commented on GitHub (Oct 28, 2022): run the command with --network=host
Author
Owner

@MSBlueVn commented on GitHub (Oct 30, 2022):

network_mode: "host" already there.
How can I reach the limit? I am not logged in. and is there a way to bypass this limit?

@MSBlueVn commented on GitHub (Oct 30, 2022): network_mode: "host" already there. How can I reach the limit? I am not logged in. and is there a way to bypass this limit?
Author
Owner

@yasscaleb commented on GitHub (Oct 31, 2022):

network_mode: "host" already there.
what's the exact command you are running

@yasscaleb commented on GitHub (Oct 31, 2022): > network_mode: "host" already there. what's the exact command you are running
Author
Owner

@MSBlueVn commented on GitHub (Oct 31, 2022):

version: '3.3' services: osx: container_name: docker-osx devices: - /dev/kvm ports: - '50922:10022' volumes: - '/tmp/.X11-unix:/tmp/.X11-unix' environment: - 'DISPLAY=${DISPLAY:-:0.0}' - GENERATE_UNIQUE=true - 'MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist ' image: sickcodes/docker-osx:latest network_mode: "host"

It's a docker compose.

@MSBlueVn commented on GitHub (Oct 31, 2022): `version: '3.3' services: osx: container_name: docker-osx devices: - /dev/kvm ports: - '50922:10022' volumes: - '/tmp/.X11-unix:/tmp/.X11-unix' environment: - 'DISPLAY=${DISPLAY:-:0.0}' - GENERATE_UNIQUE=true - 'MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist ' image: sickcodes/docker-osx:latest network_mode: "host"` It's a docker compose.
Author
Owner

@TahaOps commented on GitHub (Nov 2, 2022):

Do you use a personal laptop or an enterprise one ?
Might be possible that Github is fetch via your enterprise.
Make sure to either turn on or off your VPN if that's the case. Just a raw guess, it happened to me several time.
As discussed, --network=host could also help

@TahaOps commented on GitHub (Nov 2, 2022): Do you use a personal laptop or an enterprise one ? Might be possible that Github is fetch via your enterprise. Make sure to either turn on or off your VPN if that's the case. Just a raw guess, it happened to me several time. As discussed, `--network=host` could also help
Author
Owner

@MSBlueVn commented on GitHub (Nov 3, 2022):

not a laptop. no VPN.
and network host already there.

@MSBlueVn commented on GitHub (Nov 3, 2022): not a laptop. no VPN. and network host already there.
Author
Owner

@linghai06 commented on GitHub (Nov 27, 2022):

@MSBlueVn did you solve the problem? i have the same issue

@linghai06 commented on GitHub (Nov 27, 2022): @MSBlueVn did you solve the problem? i have the same issue
Author
Owner

@MSBlueVn commented on GitHub (Nov 27, 2022):

nope gave up on this for now.

@MSBlueVn commented on GitHub (Nov 27, 2022): nope gave up on this for now.
Author
Owner

@dcimenta commented on GitHub (Dec 7, 2022):

Try using the flag --security-opt seccomp=unconfined on docker run command. It solved this problem for me.

Apparently, there is some kind of a glibc restriction that could interfere on git/curl.

Source: https://askubuntu.com/questions/1405417/20-04-vs-22-04-inside-docker-with-a-16-04-host-thread-start-failures

@dcimenta commented on GitHub (Dec 7, 2022): Try using the flag `--security-opt seccomp=unconfined` on docker run command. It solved this problem for me. Apparently, there is some kind of a glibc restriction that could interfere on git/curl. Source: https://askubuntu.com/questions/1405417/20-04-vs-22-04-inside-docker-with-a-16-04-host-thread-start-failures
Author
Owner

@I-Want-ToBelieve commented on GitHub (Mar 25, 2023):

--network=host work

@I-Want-ToBelieve commented on GitHub (Mar 25, 2023): --network=host work
Author
Owner

@SamuelEarl commented on GitHub (May 11, 2023):

The --network=host flag worked for me with the following docker run command:

docker run -it \
    --device /dev/kvm \
    --network=host \
    -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
@SamuelEarl commented on GitHub (May 11, 2023): The `--network=host` flag worked for me with the following `docker run` command: ``` docker run -it \ --device /dev/kvm \ --network=host \ -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 ```
Author
Owner

@Edward0514 commented on GitHub (Jan 22, 2025):

--security-opt seccomp=unconfined works for me

@Edward0514 commented on GitHub (Jan 22, 2025): `--security-opt seccomp=unconfined` works for me
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#411