dockur

dockur/macos

Shell MIT DevOps Single maintainer risk

MacOS inside a Docker container.

20.8k stars
1.1k forks
active
GitHub +136 / week

20.8k

Stars

1.1k

Forks

36

Open issues

15

Contributors

v3.00 08 Jul 2026

AI Analysis

macOS inside a Docker container enables running macOS virtual machines on Linux hosts (with KVM support) or Windows 11 systems via Docker. This specialized tool serves DevOps engineers, macOS developers, and CI/CD pipeline maintainers who need to run macOS workloads in containerized environments without dedicated Apple hardware. It is NOT a general-purpose container solution; it is specifically designed for the narrow use case of macOS virtualization in Linux/Docker ecosystems.

DevOps DevOps Tool Discovery value: 4/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 5/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 7/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

macos-virtualization docker-container kvm-acceleration devops virtualization
Actively maintained Well documented MIT licensed Niche/specialized use case Popular Production ready
Deep Analysis · Based on README and public signals
2w ago

Run macOS inside Docker via KVM virtualization, with browser-based access

dockur/macos wraps macOS installation and operation inside a Docker container using KVM acceleration and QEMU, exposing a web-based VNC viewer on port 8006. It targets Linux developers, CI pipeline builders, and hobbyists who want macOS access without dedicated Apple hardware. The project automates macOS image download and installation, supports versions from Big Sur through Sequoia, and integrates with standard Docker tooling including Compose and Kubernetes manifests. It is a sibling project to dockur/windows, which achieved massive adoption.

Origin

Created in June 2024 as a natural extension of the dockur/windows project. It follows the same architectural pattern: wrapping a QEMU/KVM virtual machine inside a Docker container with an integrated noVNC web viewer.

Growth

Likely grew rapidly after launch due to the prior reputation of dockur/windows (51k+ stars) and the perennial demand for macOS on non-Apple hardware. With 20k stars in roughly two years, growth appears to have been front-loaded around launch and viral sharing, now settling into steady but slower accumulation (~34 stars/week as of evaluation date).

In production

Docker Hub pull count is referenced in the README badges but exact numbers are not available from provided metadata. The 20k stars and 1,025 forks suggest broad awareness. Real production use is likely limited to development/testing workflows and individual hobbyists rather than enterprise deployments, given Apple's EULA restrictions and KVM hardware requirements. Adoption not verified at production scale.

Code analysis
Architecture

Appears to use QEMU with KVM acceleration under the hood, consistent with the dockur/windows approach. The container likely wraps a shell-based orchestration layer that downloads macOS recovery images, sets up a virtual disk, and launches QEMU. noVNC is likely used for browser-based display. NET_ADMIN capability and /dev/net/tun suggest a virtual network interface (likely tap-based) for macOS networking. Storage is volume-mounted for persistence.

Tests

Not documented in README.

Maintenance

Last push was 2026-06-25, matching the evaluation date — indicating active, current maintenance. The README is detailed with FAQ entries, version tables, and operational guidance, suggesting ongoing attention to user questions.

Honest verdict

ADOPT IF: you need a disposable macOS environment on Linux hardware for development or testing, understand the Apple EULA implications, and have KVM-capable hardware available. AVOID IF: you need production-grade macOS reliability, plan to run this on AMD multi-core setups (noted instability), expect Apple-silicon-native performance, or are in a commercial context where EULA compliance is required. MONITOR IF: you are evaluating macOS CI pipelines on Linux and want to track whether the project adds better automation, snapshot, or cloud-native features.

Independent dimensions

Mainstream potential

3/10

Technical importance

6/10

Adoption evidence

4/10

Risks
  • Apple's EULA prohibits running macOS on non-Apple hardware in most contexts, creating legal risk for commercial use.
  • KVM hardware dependency means this cannot run on most cloud VMs or shared hosting environments without nested virtualization support.
  • Documented AMD multi-core instability limits performance on a large class of servers.
  • macOS performance inside a container/VM adds significant overhead versus native hardware, limiting use for performance-sensitive tasks.
  • Dependency on Apple's recovery image distribution infrastructure — changes to Apple's download mechanisms could break automated image fetching.
Prediction

Likely to maintain a stable niche as a developer convenience tool, growing slowly in parallel with dockur/windows. Unlikely to reach that project's adoption level due to legal friction and hardware requirements.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Shell
93.1%
Dockerfile
6.9%

Information

Language
Shell
License
MIT
Last updated
6d ago
Created
26mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

sickcodes

sickcodes/Docker-OSX

Docker-OSX enables running macOS virtual machines inside Docker containers...

52.6k Shell Security
dockur

dockur/windows

dockur/windows runs Windows operating systems inside a Docker container using...

52.4k Shell DevOps
dockur

dockur/windows-arm

This project containerizes Windows ARM64 (primarily for Raspberry Pi 5 and...

2.2k Shell DevOps
abiosoft

abiosoft/colima

Colima enables container runtimes (Docker, Containerd, Incus) and Kubernetes on...

29.8k Go DevOps
apple

apple/container

Container is a Swift-based tool for creating and running OCI-compatible Linux...

47.4k Swift DevOps
vs. alternatives
sickcodes/Docker-OSX

The original and most-starred macOS-in-Docker project (52k stars). Offers more configuration options, GPU passthrough, and IOMMU support. dockur/macos trades breadth for simplicity — faster to get running but less configurable for advanced scenarios.

dockur/windows

The sibling project by the same author with 51k stars. Architecturally nearly identical but for Windows. dockur/macos benefits from shared tooling and developer trust but has lower adoption, likely because macOS virtualization on Linux adds more legal and hardware complexity.

apple/container

Apple's own official container runtime for macOS (42k stars), running Linux containers on Apple Silicon. Solves the opposite problem — Linux workloads on Mac hardware. Not a direct competitor but serves overlapping developer audiences.

apple/containerization

Apple's framework for lightweight Linux VMs on macOS. Again addresses the inverse use case. The existence of Apple's official tooling may reduce pressure to run macOS inside Docker for some workflows.

abiosoft/colima

Runs Docker/containers on macOS using Lima VMs. Solves a different direction (Docker on Mac, not Mac in Docker) and is production-oriented. Not a direct substitute but relevant to overlapping audiences.