this post was submitted on 03 Jul 2023
992 points (98.1% liked)

Programmer Humor

25460 readers
1061 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] YellowTraveller@lemm.ee 21 points 2 years ago (4 children)

When I was in school I once used a IOS emulator running inside a docker container of MacOS running on a linux machine. It works surprisingly smoothly.

[–] george@midwest.social 1 points 2 years ago (3 children)

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?

[–] YellowTraveller@lemm.ee 3 points 2 years ago* (last edited 2 years ago) (2 children)

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

[–] fbartels@lemmy.one 1 points 2 years ago

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)