diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | vnc-version/Dockerfile | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -202,7 +202,7 @@ wget https://images.sick.codes/mac_hdd_ng_auto_monterey.img docker run -it \ --device /dev/kvm \ -p 50922:10022 \ - -v "${PWD}/mac_hdd_ng_auto_monterey:/image" \ + -v "${PWD}/mac_hdd_ng_auto_monterey.img:/image" \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e "USERNAME=user" \ @@ -616,7 +616,7 @@ Or try: For Ubuntu 20.x on Windows, see [https://github.com/sickcodes/Docker-OSX/discussions/458](https://github.com/sickcodes/Docker-OSX/discussions/458) - VNC: See the [VNC section](#building-a-headless-container-which-allows-insecure-vnc-on-localhost-for-local-use-only) for more information. You could also add -vnc argument to qemu. Connect to your mac VM via a VNC Client. [Here is a how to](https://wiki.archlinux.org/title/QEMU#VNC) -- Desktop Environment: This will give you a full desktop linux experiencem but it will use a bit more of the computer's resources. Here is an example guide, but there are other guides that help set up a desktop environment. [DE Example](https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/) +- Desktop Environment: This will give you a full desktop linux experience but it will use a bit more of the computer's resources. Here is an example guide, but there are other guides that help set up a desktop environment. [DE Example](https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/) ## Additional boot instructions for when you are [creating your container](#container-creation-examples) diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile index 065c6cb..d4ef8b7 100644 --- a/vnc-version/Dockerfile +++ b/vnc-version/Dockerfile @@ -93,6 +93,9 @@ RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \ && cat /etc/pacman.d/mirrorlist ; fi +# Fixes issue with invalid GPG keys: update the archlinux-keyring package to get the latest keys, then remove and regenerate gnupg keys +RUN pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate + USER arch RUN yes | sudo pacman -Syyuu --noconfirm \ |