You are viewing a single thread.
View all comments View context
1 point

The difference between Docker and a VM is that Docker shares a kernel, but provides isolated processes and filesystems. macOS has a very distinct kernel from Linux (hence why Docker on macOS uses a Linux VM), I would be shocked if it could run on a Linux Docker host. Maybe you were running macOS in a VM?

permalink
report
parent
reply
3 points
*

Nope, Mac OS as a Docker container, it’s a thing: https://hub.docker.com/r/sickcodes/docker-osx

Also you don’t need a Linux VM to run docker containers on a Mac host btw

permalink
report
parent
reply
1 point

The first layer in that docker container is actually KVM. So you run the container to run kvm, which then emulates osx.

permalink
report
parent
reply
2 points

TIL, good to know!

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments