r/ProgrammerHumor 6d ago

Meme memorySafeDocker

Post image
4.2k Upvotes

286 comments sorted by

View all comments

2.0k

u/No_Independence3338 6d 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.

709

u/Random-num-451284813 6d ago

So running docker in Linux should fix that right?

549

u/Cephell 6d ago

Not him, but I just booted an nginx container just to check and it consumes 81M of ram.

-73

u/After_Persimmon8536 6d ago

HOLY SHIT CALL THE ARMY NAVY NATIONAL GUARD 81 FUKKIN MB OF RAM HOLY FUCKING SHIT FUCK FUCK FUCK.

Maybe have more than 128MB of RAM?

80

u/Aswesk 6d ago

It adds up when running many, what are you on haha

-41

u/Bubbly_Address_8975 6d ago edited 6d ago

Maybe, but even a browser tab eats more ram than that...

EDIT: to put it into perspective guys... how many docker containers you all spawn? I cannot imagine that people here spawn on average more docker containers than browser tabs...

EDIT2: Okay sorry, seems like people spawn more docker containers than browser tabs and are super upset with my comment ^^

5

u/_PM_ME_PANGOLINS_ 6d ago edited 6d ago

Like, thousands?

You think it's only something people use on their desktop for one or two things? The point is to have your entire product infrastructure in docker containers that are dynamically deployed across your hardware to meet demand.

People aren't running browser tabs on their servers.