this post was submitted on 17 Nov 2024
270 points (98.6% liked)

Programmer Humor

32497 readers
1066 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MrScottyTay@sh.itjust.works 13 points 20 hours ago (3 children)

I'm pretty sure docker recommends that it runs under WSL when on windows.

[–] dan@upvote.au 3 points 8 hours ago* (last edited 8 hours ago) (1 children)

Windows itself is technically running in a VM if you have Hyper-V enabled (not quite that simple, but that's a reasonable approximation). Hyper-V is a type 1 hypervisor which means it runs directly on the underlying physical hardware, and both Windows as well as any VMs you create are running on top of Hyper-V.

[–] MrScottyTay@sh.itjust.works 1 points 6 hours ago

Oh that's an interesting tidbit, didn't know that

[–] traches@sh.itjust.works 5 points 18 hours ago

Yeah, docker in a VM makes sense. Docker in docker in a vm in a vm though?

[–] Matshiro@szmer.info 5 points 18 hours ago

Yep, can confirm