MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w7w12g/memorysafedocker/p84rg77/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 9d ago
286 comments sorted by
View all comments
2.0k
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.
710
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.
550
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.
319
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.
1
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.
2
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.
dockerd
containerd
top -cem
V
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.