news.volyx.in

macOS in QEMU in Docker (github.com)

490 points by mjtlittle · 2314 days ago · 186 comments on HN

Article summary

The article discusses a project called Docker-OSX, which allows users to run macOS in a Docker container using QEMU and KVM. The project provides a way to run macOS on non-Apple hardware, including Linux and Windows machines. The container can be used for various purposes, such as security research, development, and testing. The project is open-source and available on GitHub.

Main themes

  • Docker-OSX
  • macOS on non-Apple hardware
  • QEMU and KVM
  • containerization vs virtualization
  • security implications
  • reproducibility and stability
  • setup and configuration
  • use cases and applications

What commenters say

  • The project is seen as a useful tool for running macOS on non-Apple hardware, but it requires significant setup and configuration.
  • Some commenters argue that using Docker as a delivery mechanism for VMs is not the best approach, and that other methods such as Vagrant may be more suitable.
  • Others disagree, pointing out that using Docker can be convenient and efficient, especially in environments where container orchestration is already in place.
  • There are concerns about the security implications of running a VM inside a container, and the potential for weaknesses in isolation.
  • The project's use of privileged containers and hardware-assisted virtualization is seen as a potential security risk by some.
  • Others argue that the benefits of running a VM inside a container, such as stronger isolation, outweigh the potential risks.
  • Some commenters question the reproducibility and stability of the project, given its dependence on host kernel features and hardware.
  • The project's complexity and requirements for setup and configuration are seen as potential barriers to adoption by some.