DalosTech

Lean-stack production apps with minimal SaaS dependence, higher reliability, and lower operating costs.

docker-osx-sequoia (auto)

Published 2026-03-16 20:13:56 +01:00 by dev

Installation

docker pull dalos.me/dalos/docker-osx-sequoia:auto
sha256:92424c51507a5adee1259beef3ffe2a2187861b3671f455fc5416b6b133fa9fd

Images

Digest OS / Arch Size
35eb647388 linux/amd64 1.9 GiB

Image Layers ( linux/amd64)

LABEL org.opencontainers.image.title=Arch Linux base-devel Image
LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
LABEL org.opencontainers.image.authors=Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
LABEL org.opencontainers.image.documentation=https://wiki.archlinux.org/title/Docker#Arch_Linux
LABEL org.opencontainers.image.source=https://gitlab.archlinux.org/archlinux/archlinux-docker
LABEL org.opencontainers.image.licenses=GPL-3.0-or-later
LABEL org.opencontainers.image.version=20251019.0.436919
LABEL org.opencontainers.image.revision=2ae497c16d7647c505b1cb39e19659d26193a5a0
LABEL org.opencontainers.image.created=2025-10-19T00:07:20+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20251019.0.436919' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
LABEL maintainer=https://twitter.com/sickcodes <https://sick.codes>
SHELL [/bin/bash -c]
ARG SIZE=200G
ARG PARALLEL_DOWNLOADS=30
RUN |2 SIZE=200G PARALLEL_DOWNLOADS=30 /bin/bash -c perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ ${PARALLEL_DOWNLOADS:=30}/g /etc/pacman.conf # buildkit
ARG RANKMIRRORS
ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c tee /etc/pacman.d/mirrorlist <<< 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch' && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate archlinux # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } ; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/${BRANCH:=master}/rankmirrors" ; wget -O- "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY:-US}&protocol=https&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' | head -n "$((${MIRROR_COUNT:-10}+1))" | bash ./rankmirrors --verbose --max-time 5 - > /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist ; fi # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkp://keyserver.ubuntu.com' && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkps://hkps.pool.sks-keyservers.net:443' && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkp://pgp.mit.edu:11371' && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkps://keys.openpgp.org' && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkps://keys.mailvelope.com' # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c pacman -Syu git zip vim nano alsa-utils openssh --noconfirm && ln -s /bin/vim /bin/vi && useradd arch -p arch && tee -a /etc/sudoers <<< 'arch ALL=(ALL) NOPASSWD: ALL' && mkdir -p /home/arch && chown arch:arch /home/arch # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c mkdir -p -m 700 /root/.ssh # buildkit
WORKDIR /root/.ssh
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c touch authorized_keys && chmod 644 authorized_keys # buildkit
WORKDIR /etc/ssh
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c tee -a sshd_config <<< 'AllowTcpForwarding yes' && tee -a sshd_config <<< 'PermitTunnel yes' && tee -a sshd_config <<< 'X11Forwarding yes' && tee -a sshd_config <<< 'PasswordAuthentication yes' && tee -a sshd_config <<< 'PermitRootLogin yes' && tee -a sshd_config <<< 'PubkeyAuthentication yes' && tee -a sshd_config <<< 'HostKey /etc/ssh/ssh_host_rsa_key' && tee -a sshd_config <<< 'HostKey /etc/ssh/ssh_host_ecdsa_key' && tee -a sshd_config <<< 'HostKey /etc/ssh/ssh_host_ed25519_key' # buildkit
USER arch
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git /home/arch/OSX-KVM # buildkit
USER arch
WORKDIR /home/arch/OSX-KVM
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c touch enable-ssh.sh && chmod +x ./enable-ssh.sh && tee -a enable-ssh.sh <<< '[[ -f /etc/ssh/ssh_host_rsa_key ]] || \' && tee -a enable-ssh.sh <<< '[[ -f /etc/ssh/ssh_host_ed25519_key ]] || \' && tee -a enable-ssh.sh <<< '[[ -f /etc/ssh/ssh_host_ed25519_key ]] || \' && tee -a enable-ssh.sh <<< 'sudo /usr/bin/ssh-keygen -A' && tee -a enable-ssh.sh <<< 'nohup sudo /usr/bin/sshd -D &' # buildkit
RUN |5 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 /bin/bash -c yes | sudo pacman -Syu bc qemu-desktop libvirt dnsmasq virt-manager bridge-utils openresolv jack2 ebtables edk2-ovmf netctl libvirt-dbus wget scrot --overwrite --noconfirm && yes | sudo pacman -Scc # buildkit
WORKDIR /home/arch/OSX-KVM
ARG SIGLEVEL=Never
RUN |6 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never /bin/bash -c sudo tee -a /etc/pacman.conf <<< "SigLevel = ${SIGLEVEL}" && sudo tee -a /etc/pacman.conf <<< 'RemoteFileSigLevel = Optional' && sudo sed -i -e 's/^\#RemoteFileSigLevel/RemoteFileSigLevel/g' /etc/pacman.conf # buildkit
ARG LINUX=true
RUN |7 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true /bin/bash -c if [[ "${LINUX}" == true ]]; then sudo pacman -Syu linux linux-headers archlinux-keyring guestfs-tools mkinitcpio pcre pcre2 --noconfirm && libguestfs-test-tool && rm -rf /var/tmp/.guestfs-* && yes | sudo pacman -Scc ; fi # buildkit
ARG BRANCH=master
ARG REPO=https://github.com/sickcodes/Docker-OSX.git
RUN |9 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git /bin/bash -c git clone --recurse-submodules --depth 1 --branch "${BRANCH:=master}" "${REPO:=https://github.com/sickcodes/Docker-OSX.git}" # buildkit
RUN |9 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git /bin/bash -c touch Launch.sh && chmod +x ./Launch.sh && tee -a Launch.sh <<< '#!/bin/bash' && tee -a Launch.sh <<< 'set -eux' && tee -a Launch.sh <<< 'sudo chown $(id -u):$(id -g) /dev/kvm 2>/dev/null || true' && tee -a Launch.sh <<< 'sudo chown -R $(id -u):$(id -g) /dev/snd 2>/dev/null || true' && tee -a Launch.sh <<< '[[ "${RAM}" = max ]] && export RAM="$(("$(head -n1 /proc/meminfo | tr -dc "[:digit:]") / 1000000"))"' && tee -a Launch.sh <<< '[[ "${RAM}" = half ]] && export RAM="$(("$(head -n1 /proc/meminfo | tr -dc "[:digit:]") / 2000000"))"' && tee -a Launch.sh <<< 'sudo chown -R $(id -u):$(id -g) /dev/snd 2>/dev/null || true' && tee -a Launch.sh <<< 'exec qemu-system-x86_64 -m ${RAM:-4}000 \' && tee -a Launch.sh <<< '-cpu ${CPU:-Penryn},${CPUID_FLAGS:-vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check,}${BOOT_ARGS} \' && tee -a Launch.sh <<< '-machine q35,${KVM-"accel=kvm:tcg"} \' && tee -a Launch.sh <<< '-smp ${CPU_STRING:-${SMP:-4},cores=${CORES:-4}} \' && tee -a Launch.sh <<< '-device qemu-xhci,id=xhci \' && tee -a Launch.sh <<< '-device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0 \' && tee -a Launch.sh <<< '-device isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal\(c\)AppleComputerInc \' && tee -a Launch.sh <<< '-drive if=pflash,format=raw,readonly=on,file=/home/arch/OSX-KVM/OVMF_CODE.fd \' && tee -a Launch.sh <<< '-drive if=pflash,format=raw,file=/home/arch/OSX-KVM/OVMF_VARS-1024x768.fd \' && tee -a Launch.sh <<< '-smbios type=2 \' && tee -a Launch.sh <<< '-audiodev ${AUDIO_DRIVER:-alsa},id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda \' && tee -a Launch.sh <<< '-device ich9-ahci,id=sata \' && tee -a Launch.sh <<< '-drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=${BOOTDISK:-/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2} \' && tee -a Launch.sh <<< '-device ide-hd,bus=sata.2,drive=OpenCoreBoot \' && tee -a Launch.sh <<< '-device ide-hd,bus=sata.3,drive=InstallMedia \' && tee -a Launch.sh <<< '-drive id=InstallMedia,if=none,file=/home/arch/OSX-KVM/BaseSystem.img,format=${BASESYSTEM_FORMAT:-qcow2} \' && tee -a Launch.sh <<< '-drive id=MacHDD,if=none,file=${IMAGE_PATH:-/home/arch/OSX-KVM/mac_hdd_ng.img},format=${IMAGE_FORMAT:-qcow2} \' && tee -a Launch.sh <<< '-device ide-hd,bus=sata.4,drive=MacHDD \' && tee -a Launch.sh <<< '-netdev user,id=net0,hostfwd=tcp::${INTERNAL_SSH_PORT:-10022}-:22,hostfwd=tcp::${SCREEN_SHARE_PORT:-5900}-:5900,${ADDITIONAL_PORTS} \' && tee -a Launch.sh <<< '-device ${NETWORKING:-vmxnet3},netdev=net0,id=net0,mac=${MAC_ADDRESS:-52:54:00:09:49:17} \' && tee -a Launch.sh <<< '-monitor stdio \' && tee -a Launch.sh <<< '-boot menu=on \' && tee -a Launch.sh <<< '-vga vmware \' && tee -a Launch.sh <<< '${EXTRA:-}' # buildkit
RUN |9 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git /bin/bash -c grep -v InstallMedia ./Launch.sh > ./Launch-nopicker.sh && chmod +x ./Launch-nopicker.sh && sed -i -e s/OpenCore\.qcow2/OpenCore\-nopicker\.qcow2/ ./Launch-nopicker.sh # buildkit
USER arch
ENV USER=arch
ENV LIBGUESTFS_DEBUG=1
ENV LIBGUESTFS_TRACE=1
ARG STOCK_DEVICE_MODEL=iMacPro1,1
ARG STOCK_SERIAL=C02TM2ZBHX87
ARG STOCK_BOARD_SERIAL=C02717306J9JG361M
ARG STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A
ARG STOCK_MAC_ADDRESS=00:0A:27:00:00:00
ARG STOCK_WIDTH=1920
ARG STOCK_HEIGHT=1080
ARG STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
ARG STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist
ARG STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2
ARG STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2
RUN |20 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_SERIAL=C02TM2ZBHX87 STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_MAC_ADDRESS=00:0A:27:00:00:00 STOCK_WIDTH=1920 STOCK_HEIGHT=1080 STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 /bin/bash -c ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh --master-plist-url="${STOCK_MASTER_PLIST_URL}" --model "${STOCK_DEVICE_MODEL}" --serial "${STOCK_SERIAL}" --board-serial "${STOCK_BOARD_SERIAL}" --uuid "${STOCK_UUID}" --mac-address "${STOCK_MAC_ADDRESS}" --width "${STOCK_WIDTH}" --height "${STOCK_HEIGHT}" --output-bootdisk "${STOCK_BOOTDISK}" || exit 1 ; rm -rf /var/tmp/.guestfs-* # buildkit
RUN |20 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_SERIAL=C02TM2ZBHX87 STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_MAC_ADDRESS=00:0A:27:00:00:00 STOCK_WIDTH=1920 STOCK_HEIGHT=1080 STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 /bin/bash -c ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh --master-plist-url="${STOCK_MASTER_PLIST_URL_NOPICKER}" --model "${STOCK_DEVICE_MODEL}" --serial "${STOCK_SERIAL}" --board-serial "${STOCK_BOARD_SERIAL}" --uuid "${STOCK_UUID}" --mac-address "${STOCK_MAC_ADDRESS}" --width "${STOCK_WIDTH}" --height "${STOCK_HEIGHT}" --output-bootdisk "${STOCK_BOOTDISK_NOPICKER}" || exit 1 ; rm -rf /var/tmp/.guestfs-* # buildkit
RUN |20 SIZE=200G PARALLEL_DOWNLOADS=30 RANKMIRRORS= MIRROR_COUNTRY=US MIRROR_COUNT=10 SIGLEVEL=Never LINUX=true BRANCH=master REPO=https://github.com/sickcodes/Docker-OSX.git STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_SERIAL=C02TM2ZBHX87 STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_MAC_ADDRESS=00:0A:27:00:00:00 STOCK_WIDTH=1920 STOCK_HEIGHT=1080 STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 /bin/bash -c ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true # buildkit
ENV ADDITIONAL_PORTS=
ENV BASESYSTEM_FORMAT=qcow2
ENV BOOT_ARGS=
ENV BOOTDISK=
ENV CPU=Penryn
ENV CPUID_FLAGS=vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check,
ENV DISPLAY=:0.0
ENV ENV=/env
ENV GENERATE_UNIQUE=false
ENV GENERATE_SPECIFIC=false
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
ENV IMAGE_FORMAT=qcow2
ENV KVM=accel=kvm:tcg
ENV MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
ENV NETWORKING=vmxnet3
ENV NOPICKER=false
ENV RAM=4
ENV WIDTH=1920
ENV HEIGHT=1080
VOLUME [/tmp/.X11-unix]
ENV SHORTNAME=sequoia
ENV BASESYSTEM_IMAGE=BaseSystem.img
CMD ["/bin/bash" "-c" "! [[ -e \"${BASESYSTEM_IMAGE:-BaseSystem.img}\" ]] && printf '%s\\n' \"No BaseSystem.img available, downloading ${SHORTNAME}\" && make && qemu-img convert BaseSystem.dmg -O qcow2 -p -c ${BASESYSTEM_IMAGE:-BaseSystem.img} && rm ./BaseSystem.dmg ; sudo touch /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2>/dev/null || true ; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2>/dev/null || true ; [[ \"${NOPICKER}\" == true ]] && { sed -i '/^.*InstallMedia.*/d' Launch.sh && export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}\" ; } || export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" ; [[ \"${GENERATE_UNIQUE}\" == true ]] && { ./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh --master-plist-url=\"${MASTER_PLIST_URL}\" --count 1 --tsv ./serial.tsv --bootdisks --width \"${WIDTH:-1920}\" --height \"${HEIGHT:-1080}\" --output-bootdisk \"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" --output-env \"${ENV:=/env}\" || exit 1 ; } ; [[ \"${GENERATE_SPECIFIC}\" == true ]] && { source \"${ENV:=/env}\" 2>/dev/null ; ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh --master-plist-url=\"${MASTER_PLIST_URL}\" --model \"${DEVICE_MODEL}\" --serial \"${SERIAL}\" --board-serial \"${BOARD_SERIAL}\" --uuid \"${UUID}\" --mac-address \"${MAC_ADDRESS}\" --width \"${WIDTH:-1920}\" --height \"${HEIGHT:-1080}\" --output-bootdisk \"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" || exit 1 ; } ; ./enable-ssh.sh && /bin/bash -c ./Launch.sh"]
LABEL maintainer=mason@dalostech.us
LABEL description=Docker-OSX Sequoia auto-equivalent with iMessage + Xcode support
USER root
WORKDIR /root
RUN /bin/bash -c perl -i -p -e 's/^#Color/Color\nParallelDownloads = 30/g' /etc/pacman.conf # buildkit
RUN /bin/bash -c tee /etc/pacman.d/mirrorlist <<< 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch' && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' # buildkit
RUN /bin/bash -c pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate archlinux # buildkit
RUN /bin/bash -c tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkp://keyserver.ubuntu.com' && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkps://keys.openpgp.org' # buildkit
RUN /bin/bash -c pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noconfirm && yes | pacman -Scc # buildkit
USER arch
ENV USER=arch
WORKDIR /home/arch/OSX-KVM
RUN /bin/bash -c mkdir -p ~/.ssh && chmod 700 ~/.ssh && touch ~/.ssh/config && chmod 600 ~/.ssh/config && tee ~/.ssh/config <<'EOF' Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null EOF # buildkit
ARG IMAGE_SRC=mac_hdd_ng_sequoia_deduped.img
COPY --chown=arch mac_hdd_ng_sequoia_deduped.img /home/arch/OSX-KVM/mac_hdd_ng.img # buildkit
ENV CPU=Haswell-noTSX
ENV CPU_STRING=8,sockets=4,cores=2
ENV CPUID_FLAGS=kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on
ENV SHORTNAME=sequoia
ENV MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom-sonoma.plist
ENV ADDITIONAL_PORTS=
ENV BOOT_ARGS=
ENV BOOTDISK=
ENV DISPLAY=:99
ENV HEADLESS=false
ENV ENV=/env
ENV GENERATE_UNIQUE=false
ENV GENERATE_SPECIFIC=false
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
ENV IMAGE_FORMAT=qcow2
ENV KVM=accel=kvm:tcg
ENV NETWORKING=vmxnet3
ENV NOPICKER=true
ENV AUDIO_DRIVER=none
ENV DEVICE_MODEL=iMacPro1,1
ENV SERIAL=
ENV BOARD_SERIAL=
ENV UUID=
ENV MAC_ADDRESS=
ENV USERNAME=user
ENV PASSWORD=alpine
ENV RAM=8
ENV WIDTH=1920
ENV HEIGHT=1080
ENV TERMS_OF_USE=i_agree
ENV BASESYSTEM_IMAGE=BaseSystem.img
CMD ["/bin/bash" "-c" "! [[ -e \"${BASESYSTEM_IMAGE:-BaseSystem.img}\" ]] && printf '%s\\n' \"No BaseSystem.img, downloading ${SHORTNAME}\" && make && qemu-img convert BaseSystem.dmg -O qcow2 -p -c ${BASESYSTEM_IMAGE:-BaseSystem.img} && rm ./BaseSystem.dmg ; [[ \"${TERMS_OF_USE}\" = i_agree ]] || exit 1 ; sudo touch /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2>/dev/null || true ; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2>/dev/null || true ; [[ \"${NOPICKER}\" == true ]] && { sed -i '/^.*InstallMedia.*/d' Launch.sh && export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}\" ; } || export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" ; [[ \"${GENERATE_UNIQUE}\" == true ]] && { ./Docker-OSX/osx-serial-generator/generate-unique-machine-values.sh --master-plist-url=\"${MASTER_PLIST_URL}\" --count 1 --tsv ./serial.tsv --bootdisks --width \"${WIDTH:-1920}\" --height \"${HEIGHT:-1080}\" --output-bootdisk \"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" --output-env \"${ENV:=/env}\" || exit 1 ; } ; [[ \"${GENERATE_SPECIFIC}\" == true ]] && { source \"${ENV:=/env}\" 2>/dev/null ; ./Docker-OSX/osx-serial-generator/generate-specific-bootdisk.sh --master-plist-url=\"${MASTER_PLIST_URL}\" --model \"${DEVICE_MODEL}\" --serial \"${SERIAL}\" --board-serial \"${BOARD_SERIAL}\" --uuid \"${UUID}\" --mac-address \"${MAC_ADDRESS}\" --width \"${WIDTH:-1920}\" --height \"${HEIGHT:-1080}\" --output-bootdisk \"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" || exit 1 ; } ; { [[ \"${DISPLAY}\" = ':99' ]] || [[ \"${HEADLESS}\" == true ]] ; } && { nohup Xvfb :99 -screen 0 1920x1080x16 & until [[ \"$(xrandr --query 2>/dev/null)\" ]]; do sleep 1 ; done ; } ; stat \"${IMAGE_PATH}\" ; ./enable-ssh.sh ; [[ -e ~/.ssh/id_docker_osx ]] || { /usr/bin/ssh-keygen -t rsa -f ~/.ssh/id_docker_osx -q -N \"\" && chmod 600 ~/.ssh/id_docker_osx ; } ; /bin/bash -c ./Launch.sh & echo \"Booting Sequoia. Waiting for SSH...\" ; until [[ \"$(sshpass -p${PASSWORD:=alpine} ssh-copy-id -f -i ~/.ssh/id_docker_osx.pub -p 10022 ${USERNAME:=user}@127.0.0.1)\" ]]; do echo \"Waiting for macOS to boot...\" ; sleep 5 ; done ; grep id_docker_osx ~/.ssh/config || { tee -a ~/.ssh/config <<< 'Host 127.0.0.1' ; tee -a ~/.ssh/config <<< \" User ${USERNAME:=user}\" ; tee -a ~/.ssh/config <<< ' Port 10022' ; tee -a ~/.ssh/config <<< ' IdentityFile ~/.ssh/id_docker_osx' ; tee -a ~/.ssh/config <<< ' StrictHostKeyChecking no' ; tee -a ~/.ssh/config <<< ' UserKnownHostsFile=/dev/null' ; } && echo \"=== Sequoia Ready ===\" && echo \"Username: ${USERNAME}\" && echo \"Password: ${PASSWORD}\" && echo \"SSH: ssh ${USERNAME}@localhost -p 50922\" && ssh -i ~/.ssh/id_docker_osx ${USERNAME:=user}@127.0.0.1 -p 10022 \"${OSX_COMMANDS}\""]

Labels

Key Value
description Docker-OSX Sequoia auto-equivalent with iMessage + Xcode support
dockerfile-path Dockerfile
maintainer mason@dalostech.us
org.opencontainers.image.authors Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
org.opencontainers.image.created 2025-10-19T00:07:20+00:00
org.opencontainers.image.description Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
org.opencontainers.image.documentation https://wiki.archlinux.org/title/Docker#Arch_Linux
org.opencontainers.image.licenses GPL-3.0-or-later
org.opencontainers.image.revision 2ae497c16d7647c505b1cb39e19659d26193a5a0
org.opencontainers.image.source https://gitlab.archlinux.org/archlinux/archlinux-docker
org.opencontainers.image.title Arch Linux base-devel Image
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20251019.0.436919
Details
Container
2026-03-16 20:13:56 +01:00
0
OCI / Docker
Versions (2) View all
base 2026-03-16
auto 2026-03-16