On Win11 using WSL2 backend (I expect same results on Hyper-V backend directly; haven't tried new VMM backend yet) freshly launched nginx:latest is sitting at around 24-25 MiB on average across 40 containers. On Debian 12 they are around 13-14 MiB each.
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.
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 ^^
Are you sure you have the knowledge required to comment on this? How much RAM do you think is needed for that? My LXC debian instance for NGINX + OpenVPN + Firewall is even less, ~40MB.
View all comments
Show parent comment
552
u/Cephell Sep 05 '26
Not him, but I just booted an nginx container just to check and it consumes 81M of ram.