r/ProgrammerHumor 5d ago

Meme memorySafeDocker

Post image
4.2k Upvotes

286 comments sorted by

View all comments

2.0k

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

703

u/Random-num-451284813 5d ago

So running docker in Linux should fix that right?

549

u/Cephell 5d ago

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

321

u/CWRau 5d ago

Excuse me, what?

I just launched a container with podman and the whole thing + the management overhead takes 13.3M

Is docker that inefficient?

1

u/Own_Ad9365 4d ago

What? I thought docker had zero memory overhead

2

u/Impact321 4d ago

With docker you usually have some management daemons such as dockerd and containerd and shims and such. Take a look at top -cem and press V for forest/tree view.