this post was submitted on 03 Jul 2023
70 points (100.0% liked)

Programmer Humor

19551 readers
997 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Yes, under windows and osx at least.

[–] [email protected] 0 points 1 year ago (2 children)

Is that still true? I use Linux but my coworker said docker runs natively now on the M1s but maybe he was making it up

[–] [email protected] 1 points 1 year ago

Docker requires the Linux kernel to work.

M1 is just worse arm. Since most people use x86_64 instead of arm, docker had to emulate that architecture and therefore had performance issues. Now you've got arm specific images that don't require that hardware emulation layer, and so work a lot better.

Since that didn't solve the Linux kernel requirement, it's still running a VM to provide it.

[–] [email protected] 1 points 1 year ago

I suspect they meant it runs natively in that it’s an aarch64 binary. It’s still running a VM under the hood because docker is really just a nice frontend to a bunch of Linux kernel features.