源镜像 |
docker.io/zshmeta/docker-osx:latest  |
国内镜像 |
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest  |
镜像ID |
sha256:2fb64cf6a0a95c0fb3a936033e0320a5c53a04c15355fa8e5441efd2d8c57b50 |
镜像TAG |
latest |
大小 |
3.17GB |
镜像源 |
docker.io |
项目信息 |
Docker-Hub主页 🚀项目TAG 🚀 |
CMD |
/bin/bash -c 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 |
启动入口 |
|
工作目录 |
/home/arch/OSX-KVM |
OS/平台 |
linux/amd64
|
浏览量 |
243 次 |
贡献者 |
25*******5@qq.com |
镜像创建 |
2022-11-19T11:25:08.761090347Z |
同步时间 |
2024-09-11 14:08 |
更新时间 |
2025-02-18 11:33 |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=C.UTF-8
USER=arch
LIBGUESTFS_DEBUG=1
LIBGUESTFS_TRACE=1
ADDITIONAL_PORTS=
BASESYSTEM_FORMAT=qcow2
BOOT_ARGS=
BOOTDISK=
CPU=Penryn
CPUID_FLAGS=vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check,
DISPLAY=:0.0
ENV=/env
GENERATE_UNIQUE=false
GENERATE_SPECIFIC=false
IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
IMAGE_FORMAT=qcow2
KVM=accel=kvm:tcg
MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
NETWORKING=vmxnet3
NOPICKER=false
RAM=4
WIDTH=1920
HEIGHT=1080
https://twitter.com/sickcodes <https://sick.codes>: maintainer
Docker拉取命令 无权限下载?点我修复
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest docker.io/zshmeta/docker-osx:latest
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest docker.io/zshmeta/docker-osx:latest
Shell快速替换命令
sed -i 's#zshmeta/docker-osx:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest docker.io/zshmeta/docker-osx:latest'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest docker.io/zshmeta/docker-osx:latest'
镜像构建历史
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) CMD ["/bin/bash" "-c" "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"]
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) VOLUME [/tmp/.X11-unix]
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV HEIGHT=1080
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV WIDTH=1920
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV RAM=4
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV NOPICKER=false
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV NETWORKING=vmxnet3
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV KVM=accel=kvm:tcg
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV IMAGE_FORMAT=qcow2
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV GENERATE_SPECIFIC=false
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV GENERATE_UNIQUE=false
# 2022-11-19 19:25:08 0.00B
/bin/bash -c #(nop) ENV ENV=/env
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV DISPLAY=:0.0
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV CPUID_FLAGS=vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check,
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV CPU=Penryn
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV BOOTDISK=
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV BOOT_ARGS=
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV BASESYSTEM_FORMAT=qcow2
# 2022-11-19 19:25:07 0.00B
/bin/bash -c #(nop) ENV ADDITIONAL_PORTS=
# 2022-11-19 19:25:07 27.00B
|20 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_HEIGHT=1080 STOCK_MAC_ADDRESS=00:0A:27:00:00:00 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_SERIAL=C02TM2ZBHX87 STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_WIDTH=1920 /bin/bash -c ln -s /home/arch/OSX-KVM/OpenCore /home/arch/OSX-KVM/OpenCore-Catalina || true
# 2022-11-19 19:25:07 34.49MB
|20 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_HEIGHT=1080 STOCK_MAC_ADDRESS=00:0A:27:00:00:00 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_SERIAL=C02TM2ZBHX87 STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_WIDTH=1920 /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-*
# 2022-11-19 19:24:23 34.50MB
|20 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G STOCK_BOARD_SERIAL=C02717306J9JG361M STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2 STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2 STOCK_DEVICE_MODEL=iMacPro1,1 STOCK_HEIGHT=1080 STOCK_MAC_ADDRESS=00:0A:27:00:00:00 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_SERIAL=C02TM2ZBHX87 STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A STOCK_WIDTH=1920 /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-*
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_BOOTDISK_NOPICKER=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_BOOTDISK=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_MASTER_PLIST_URL_NOPICKER=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_HEIGHT=1080
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_WIDTH=1920
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_MAC_ADDRESS=00:0A:27:00:00:00
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_UUID=007076A6-F2A2-4461-BBE5-BAD019F8025A
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_BOARD_SERIAL=C02717306J9JG361M
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_SERIAL=C02TM2ZBHX87
# 2022-11-19 19:23:39 0.00B
/bin/bash -c #(nop) ARG STOCK_DEVICE_MODEL=iMacPro1,1
# 2022-11-19 19:23:38 0.00B
/bin/bash -c #(nop) ENV LIBGUESTFS_TRACE=1
# 2022-11-19 19:23:38 0.00B
/bin/bash -c #(nop) ENV LIBGUESTFS_DEBUG=1
# 2022-11-19 19:23:38 0.00B
/bin/bash -c #(nop) ENV USER=arch
# 2022-11-19 19:23:38 0.00B
/bin/bash -c #(nop) USER arch
# 2022-11-19 19:23:38 1.74KB
|9 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G /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
# 2022-11-19 19:23:38 1.88KB
|9 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G /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 <<< '-usb -device usb-kbd -device usb-tablet \' && 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:-}'
# 2022-11-19 19:23:37 28.18MB
|9 BRANCH=master LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true REPO=https://github.com/sickcodes/Docker-OSX.git SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G /bin/bash -c git clone --recurse-submodules --depth 1 --branch "${BRANCH}" "${REPO}"
# 2022-11-19 19:23:36 0.00B
/bin/bash -c #(nop) ARG REPO=https://github.com/sickcodes/Docker-OSX.git
# 2022-11-19 19:23:36 0.00B
/bin/bash -c #(nop) ARG BRANCH=master
# 2022-11-19 19:23:35 554.17MB
|7 LINUX=true MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G /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
# 2022-11-19 19:22:33 0.00B
/bin/bash -c #(nop) ARG LINUX=true
# 2022-11-19 19:22:33 3.55KB
|6 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SHORTNAME=big-sur SIGLEVEL=Never SIZE=200G /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
# 2022-11-19 19:22:32 0.00B
/bin/bash -c #(nop) ARG SIGLEVEL=Never
# 2022-11-19 19:22:32 731.37MB
|5 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SHORTNAME=big-sur SIZE=200G /bin/bash -c make && qemu-img convert BaseSystem.dmg -O qcow2 -p -c BaseSystem.img && rm ./BaseSystem.dmg
# 2022-11-19 19:21:05 0.00B
/bin/bash -c #(nop) ARG SHORTNAME=catalina
# 2022-11-19 19:21:05 0.00B
/bin/bash -c #(nop) WORKDIR /home/arch/OSX-KVM
# 2022-11-19 19:21:04 694.54MB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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 --overwrite --noconfirm && yes | sudo pacman -Scc
# 2022-11-19 19:20:38 186.00B
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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 &'
# 2022-11-19 19:20:38 0.00B
/bin/bash -c #(nop) WORKDIR /home/arch/OSX-KVM
# 2022-11-19 19:20:38 0.00B
/bin/bash -c #(nop) USER arch
# 2022-11-19 19:20:37 150.84MB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /bin/bash -c git clone --recurse-submodules --depth 1 https://github.com/kholia/OSX-KVM.git /home/arch/OSX-KVM
# 2022-11-19 19:20:32 0.00B
/bin/bash -c #(nop) USER arch
# 2022-11-19 19:20:32 3.35KB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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'
# 2022-11-19 19:20:32 0.00B
/bin/bash -c #(nop) WORKDIR /etc/ssh
# 2022-11-19 19:20:31 0.00B
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /bin/bash -c touch authorized_keys && chmod 644 authorized_keys
# 2022-11-19 19:20:31 0.00B
/bin/bash -c #(nop) WORKDIR /root/.ssh
# 2022-11-19 19:20:31 0.00B
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /bin/bash -c mkdir -p -m 700 /root/.ssh
# 2022-11-19 19:20:30 176.24MB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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
# 2022-11-19 19:20:25 333.00B
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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'
# 2022-11-19 19:20:25 1.29MB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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
# 2022-11-19 19:20:17 14.91MB
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /bin/bash -c pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate archlinux
# 2022-11-19 19:20:04 181.00B
|4 MIRROR_COUNT=10 MIRROR_COUNTRY=US RANKMIRRORS=true SIZE=200G /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'
# 2022-11-19 19:20:04 0.00B
/bin/bash -c #(nop) ARG MIRROR_COUNT=10
# 2022-11-19 19:20:04 0.00B
/bin/bash -c #(nop) ARG MIRROR_COUNTRY=US
# 2022-11-19 19:20:04 0.00B
/bin/bash -c #(nop) ARG RANKMIRRORS
# 2022-11-19 19:20:04 3.51KB
|1 SIZE=200G /bin/bash -c perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ 30/g /etc/pacman.conf
# 2022-11-19 19:20:03 0.00B
/bin/bash -c #(nop) ARG SIZE=200G
# 2022-11-19 19:20:03 0.00B
/bin/bash -c #(nop) SHELL [/bin/bash -c]
# 2022-11-19 19:20:03 0.00B
/bin/sh -c #(nop) LABEL maintainer=https://twitter.com/sickcodes <https://sick.codes>
# 2022-11-15 05:21:09 0.00B
/bin/sh -c #(nop) CMD ["/usr/bin/bash"]
# 2022-11-15 05:21:09 0.00B
/bin/sh -c #(nop) ENV LANG=C.UTF-8
# 2022-11-15 05:21:09 34.45KB
/bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=TEMPLATE_VERSION_ID' /etc/os-release
# 2022-11-15 05:21:06 752.78MB
/bin/sh -c #(nop) COPY dir:8c06a6373ab1904938712a4232a2a4b86ecbb85293114557f3dccf4c2c6c23c3 in /
镜像信息
{
"Id": "sha256:2fb64cf6a0a95c0fb3a936033e0320a5c53a04c15355fa8e5441efd2d8c57b50",
"RepoTags": [
"zshmeta/docker-osx:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx:latest"
],
"RepoDigests": [
"zshmeta/docker-osx@sha256:38492d6f70c48489e36d497ecb1ef6725423fd683eca8b46fdd415cb3e5935e2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zshmeta/docker-osx@sha256:eb137fdedc2ba104a7d4bdbf79ea0712741894c18a84a029b38b3e4510b0e402"
],
"Parent": "",
"Comment": "",
"Created": "2022-11-19T11:25:08.761090347Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.16",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "arch",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"USER=arch",
"LIBGUESTFS_DEBUG=1",
"LIBGUESTFS_TRACE=1",
"ADDITIONAL_PORTS=",
"BASESYSTEM_FORMAT=qcow2",
"BOOT_ARGS=",
"BOOTDISK=",
"CPU=Penryn",
"CPUID_FLAGS=vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check,",
"DISPLAY=:0.0",
"ENV=/env",
"GENERATE_UNIQUE=false",
"GENERATE_SPECIFIC=false",
"IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img",
"IMAGE_FORMAT=qcow2",
"KVM=accel=kvm:tcg",
"MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist",
"NETWORKING=vmxnet3",
"NOPICKER=false",
"RAM=4",
"WIDTH=1920",
"HEIGHT=1080"
],
"Cmd": [
"/bin/bash",
"-c",
"sudo touch /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2\u003e/dev/null || true ; sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd \"${IMAGE_PATH}\" \"${BOOTDISK}\" \"${ENV}\" 2\u003e/dev/null || true ; [[ \"${NOPICKER}\" == true ]] \u0026\u0026 { sed -i '/^.*InstallMedia.*/d' Launch.sh \u0026\u0026 export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore-nopicker.qcow2}\" ; } || export BOOTDISK=\"${BOOTDISK:=/home/arch/OSX-KVM/OpenCore/OpenCore.qcow2}\" ; [[ \"${GENERATE_UNIQUE}\" == true ]] \u0026\u0026 { ./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 ]] \u0026\u0026 { source \"${ENV:=/env}\" 2\u003e/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 \u0026\u0026 /bin/bash -c ./Launch.sh"
],
"Image": "sha256:291e0a44f08eb8cf106d14809f238052f3c14cb26afc5d83728433f6d245bced",
"Volumes": {
"/tmp/.X11-unix": {}
},
"WorkingDir": "/home/arch/OSX-KVM",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "https://twitter.com/sickcodes \u003chttps://sick.codes\u003e"
},
"Shell": [
"/bin/bash",
"-c"
]
},
"Architecture": "amd64",
"Os": "linux",
"Size": 3173358171,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/1f5fb915d6d1c28baa52c6894b6f0141e768aed9d025db2f7c3980a64805dd77/diff:/var/lib/docker/overlay2/764192ccf2e09bbf0651dcee2533181f8627db62fa13423fb507351ec1441ca7/diff:/var/lib/docker/overlay2/361257a2149ce9aebf3a9f1c580856ed6d3fc326821f69ecbc8500d9e354618a/diff:/var/lib/docker/overlay2/ec79034f843b3408e465a198de963ab7f86343956d2a470c8b2c2e3f3f8f7b5f/diff:/var/lib/docker/overlay2/33a0ee741a3f3ca437e9f8771bb8703d943d0e67ec401bf9ea94b6f5516b8f43/diff:/var/lib/docker/overlay2/9807a352d38f4b6443c7f681c5ed10b4a59e8c2e44a2a66d1eb35fbb5cd3aa1d/diff:/var/lib/docker/overlay2/316a7a1dd6c9a536f1f541782da535c558836818a435910742b1ddbee0c19ac5/diff:/var/lib/docker/overlay2/8495f06bd30fcb2076c91b7c91847eeb60b7d0e0ab1aa0f79b78eb09ea1e0f0c/diff:/var/lib/docker/overlay2/48d49f5cf2eb7a274d67279d59e79ad0454a8cd369160a88a8f6753033a35449/diff:/var/lib/docker/overlay2/ade12cbe1f97cac4dffc514444a520d0aae397243982f2fe5863a9c7afe1c91c/diff:/var/lib/docker/overlay2/fe944fe66c6496b8d025c15fb83564a5b9aa95e7330630fe4e6c75debe62cc10/diff:/var/lib/docker/overlay2/23af3898c0b61a08356c8c453e7fa2c8139a5e9ceb802650a32cbc093e2692a3/diff:/var/lib/docker/overlay2/df1dd6bea2d9c500409b9e523c52f3eba27b24ddffc05d259fa78ff173d28e7a/diff:/var/lib/docker/overlay2/2b751856ec6854df656f58d3e6490de949dbe8c617e5f406ec6d4f6818da43e3/diff:/var/lib/docker/overlay2/2e9b0aeeb1f2647fb6d2e4b5c6f44b7871068a0b1da0d12a4c91843190dc3af0/diff:/var/lib/docker/overlay2/b9c15fc53feca234fe837c2577a2a446338f190788dbdc0626bddba87070819a/diff:/var/lib/docker/overlay2/24a83ca97053a68a9d45eca9f9a72549b593eddd489cef9814654e2bd15ce3ff/diff:/var/lib/docker/overlay2/4486ccb6f7e42e18afeff878ac0d5432fe99c5eb7efeb0bac2bd9bf04dc911be/diff:/var/lib/docker/overlay2/441612aab8179d55ab0308e7d26a077d03f2fd9a412415a2ec98a6c554925837/diff:/var/lib/docker/overlay2/d09d8cd344daef0b526bef4dcbcba763ee265914dc992f0ccb0a584d65640800/diff:/var/lib/docker/overlay2/67744e6a10cc06ac94e3fea88911939aafb099205efa913c93dc5aa32100a592/diff",
"MergedDir": "/var/lib/docker/overlay2/f0b1c3665b28a1b889dbe674070ef109bef7087252dc55af2282e6c9f9433a66/merged",
"UpperDir": "/var/lib/docker/overlay2/f0b1c3665b28a1b889dbe674070ef109bef7087252dc55af2282e6c9f9433a66/diff",
"WorkDir": "/var/lib/docker/overlay2/f0b1c3665b28a1b889dbe674070ef109bef7087252dc55af2282e6c9f9433a66/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:fb5f48774146735c531ebaf0eb440c1408ffe115a806f4157dcb7c6c1d952538",
"sha256:3a9329ac2e6d7d9c75a119403cf8e7b9e1e26a26c51849b9809fc2aaa98d926e",
"sha256:3ed50373710474a514e43853144bea3dc5363dbaf43d641bba2d122578cd6cab",
"sha256:bbaa1f682dcdb4ed0c8795d9c96c35cb0c3263546141e5f45cb64a8d490a8e29",
"sha256:1b6f9d7a0bf733d1a579decb540a286f27550757a3dab6f61ab0641897bdbda0",
"sha256:0026f168435ab5b8c4a904ce07bb4899cb12748cb38d0e332697e5cd88138969",
"sha256:c492da5a5e37190f9717b0a1a5667c1431bd9d7bc98b3f069bd3bb6419d2e5c9",
"sha256:cf28126c18d0030f616202b57964c59a4745ae7bf0b5acc51bf5abcbb6b57181",
"sha256:d3d04cc797813da0b9cdf29bb5d53d7440ccb9c5cb0dd4ca2ef1a132c17763dc",
"sha256:5c353c996b462e8039dfe4ef6767913fe84d9d3e328138d0705ce46319201092",
"sha256:4f68746be2b2aaa7fd36a16e606dcfeb6007ab1299b3913720866593f81b79dd",
"sha256:a633fff92eeb3a025a6950f79d19fd6e83e2f02f7a5e75cec91d1f1037f143a4",
"sha256:c91954b8865f12c5a7ba21966a432f86e8bc92baa38d2b2412e3f6065f08866d",
"sha256:0775ac6ff72c8e8346844dab82ec14e465656125645a04a9069e7ef9d5f372c3",
"sha256:4a500b295bb62930ecc65ae125bc073c56c1f030e9087eca44612bfeed98df44",
"sha256:aa9a549669016311f871150036e539ebbb8694abb6abf944909247d5702a90a3",
"sha256:5b5481cb61d57ba818f4f2905a7f944415c0cca046bb28aea1218d15ac3b7775",
"sha256:27db32ca060cac57ca5bf60505b89019fa34323df43e59c4ec3eaa2bbc496b49",
"sha256:8873f9234a125ac9bc3deed73781506ec8388df75699f80da30b1b0135ef6f1b",
"sha256:869d1c95ac9ceb18fdb83c34dd5a4ef6f4a3dcfa9adaf9121358088ed637edfa",
"sha256:3174894dbdc5b241a582ec2a53f1538471c83acafaee50d7f9e3c83ae4ae6bd6",
"sha256:4ac849cfd5329de4ea2f21ca213fa2f9c337ffb069a25228609ffa86df525861"
]
},
"Metadata": {
"LastTagTime": "2024-09-11T14:04:38.243942375+08:00"
}
}