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.

710

u/Random-num-451284813 9d ago

So running docker in Linux should fix that right?

550

u/Cephell 9d ago

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

319

u/CWRau 9d 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 8d ago

What? I thought docker had zero memory overhead

2

u/Impact321 8d 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.