Originally created by @acheong08 on GitHub (Sep 26, 2022).
$ 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
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
Tried with and without VPN
Originally created by @acheong08 on GitHub (Sep 26, 2022).
```
$ 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
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
```
Tried with and without VPN
Yes but I don't know how. I reinstalled the image after a while and now the image doesn't work without a VPN.
A possibility: Use a local DNS resolver to prevent the VPN overriding the container's DNS.
@acheong08 commented on GitHub (Nov 27, 2022):
> @acheong08 did you work around the problem?
Yes but I don't know how. I reinstalled the image after a while and now the image doesn't work without a VPN.
A possibility: Use a local DNS resolver to prevent the VPN overriding the container's DNS.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @acheong08 on GitHub (Sep 26, 2022).
Tried with and without VPN
@acheong08 commented on GitHub (Sep 26, 2022):
China blocks GitHub. GitHub blocks VPN
@linghai06 commented on GitHub (Nov 27, 2022):
@acheong08 did you work around the problem?
@acheong08 commented on GitHub (Nov 27, 2022):
Yes but I don't know how. I reinstalled the image after a while and now the image doesn't work without a VPN.
A possibility: Use a local DNS resolver to prevent the VPN overriding the container's DNS.
@linClubs commented on GitHub (Dec 20, 2023):
哥,怎么解决这个问题的,能改源文件不把git地址加上代理?