2 ms·
How does Docker use such little memory? A better link: https://github.com/ssrg-vt/hermitux-kernel https://github.com/ssrg-vt/hermitux-kernel The link in the a
by MuffinFlavored 8y ago
How does Docker use such little memory?
A better link: https://github.com/ssrg-vt/hermitux-kernel https://github.com/ssrg-vt/hermitux-kernel
The link in the article seems to be apps that use the kernel?
- viraptor 8y agoDocker's memory usage of the container is going to be pretty close to the same process running without the namespace. For the hello world they're testing, it's going to be ~ the size of the binary and libc. There's probably another MB or so hiding in Docker metadata, namespace metadata in kernel, etc. that "docker stats" doesn't account for.
- compsciphd 8y agodepends. take the hello world example. Correct me if I'm wrong, but if one runs it 1000 times in parallel in a single namspace and it will be using close to 1x memory (i.e. like it was running once, assuming the vast majority of memory would be shared), run it 1000 times in parallel in 1000 docker containers and its memory impact will be closer to 1000x (i.e. no shared memory going on).