
Windows and MacOS templates need KVM to work, the problem is that KVM is only available on Linux. The second problem is that KVM needs to be installed on the host server, but most Coolify users use a VPS to host it, and almost all VPS providers block KVM access or installation on the host because the hole server is already KVM virtualized.
26 lines
576 B
YAML
26 lines
576 B
YAML
# ignore: true
|
|
# documentation: https://github.com/dockur/macos
|
|
# slogan: Run macOS in a containerized environment.
|
|
# tags: macos, virtualization, container, os
|
|
# logo: svgs/macos.svg
|
|
# port: 8006
|
|
|
|
services:
|
|
macos:
|
|
image: dockurr/macos
|
|
volumes:
|
|
- macos-storage:/storage
|
|
environment:
|
|
- SERVICE_FQDN_MACOS_8006
|
|
- VERSION=15
|
|
devices:
|
|
- /dev/kvm:/dev/kvm
|
|
cap_add:
|
|
- NET_ADMIN
|
|
stop_grace_period: 2m
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-z", "127.0.0.1", "8006"]
|
|
interval: 2s
|
|
timeout: 10s
|
|
retries: 10
|