[软件服务] OSX macOS inside a Docker container极空间
date
Dec 10, 2024
slug
newsoftware-macos-docker-zspace
status
Published
summary
新软件-极空间
tags
software
service
type
Post
URL
Summary
- ‣
- 支持portainer安装
安装过程
cd cd /data_n001/data/udata/real/15637/DockerSSD/
mkdir -p macos/storage
cat >> docker-compose.yml <<EOF
services:
macos:
image: dockurr/macos
container_name: macos
restart: unless-stopped
environment:
# 15, 14, 13, 12, 11
VERSION: "13"
DISK_SIZE: "256G" # default: 64G
RAM_SIZE: "8G" # default: 4G
CPU_CORES: "4" # default: 2
devices:
- /dev/kvm
- /dev/net/tun
- /dev/bus/usb
cap_add:
- NET_ADMIN
ports:
- 42806:8006
- 42807:5900/tcp
- 42857:5900/udp
- 42422:22 # open ssh
volumes:
- /data_n001/data/udata/real/1567/DockerSSD/macos/storage:/storage
stop_grace_period: 2m
networks:
default:
name: npm_nginx_proxy_manager-network
external: true
EOF
docker compose down; docker compose up -d; sleep 1s; docker compose logs -f
# set up npm: -> http://macos:8006
# set up zspace极空间 远程转发 -> http://ip:42806
做法
verify if my system supports KVM?
sudo apt install cpu-checker
sudo kvm-ok