69
You know who you are (programming.dev)
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 year ago

Does docker really spin up a VM to run containers?

[-] [email protected] 0 points 1 year ago

Yes, under windows and osx at least.

[-] [email protected] 0 points 1 year ago

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.

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

Programmer Humor

19187 readers
1115 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