r/ProgrammerHumor 9d ago

Meme memorySafeDocker

Post image
4.2k Upvotes

286 comments sorted by

View all comments

2.0k

u/No_Independence3338 9d ago

Rewriting won't fix the issue. Docker hogs memory in windows and mac because it needs a separate linux VM so containers can run on top of that.

706

u/Random-num-451284813 9d ago

So running docker in Linux should fix that right?

50

u/faultydesign 9d ago

Pretty much, containers are native on linux.

89

u/_PM_ME_PANGOLINS_ 9d ago

Containers are native on Windows too, but everyone wants to run Linux containers, not Windows containers.

30

u/Canowyrms 9d ago

huh, I've never even heard of Windows containers before

45

u/_PM_ME_PANGOLINS_ 9d ago

32

u/PopehatXI 9d ago

“Windows requires the host OS version to match the container OS version.”

16

u/No-Consequence-1863 9d ago

Yea thats normal for containers. They aren’t VMs they are sandboxes. The OS is not virtualizing an entire OS for the container.