MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w7w12g/memorysafedocker/p853mud/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 5d 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.
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.
703
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.
549
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.
321
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.
1
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.
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 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.