I'm running the following docker command:
docker run node -e "setTimeout(() => console.log('hello world'), 10000)" Now, docker stats gives me:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 54b80bd39f0a magical_babbage 0.00% 6.688MiB / 15.41GiB 0.04% 3.33kB / 0B 0B / 0B 7 Telling me that it's only using 6.88MiB.
Does docker not include the memory needed to run the host OS?