3 ms·
if you’re looking at the kernel features used (namespaces, cgroups, etc) containers are multiprocess (even with docker you can go attach into the container and
by mirceal 8y ago
if you’re looking at the kernel features used (namespaces, cgroups, etc) containers are multiprocess (even with docker you can go attach into the container and look at things).
This may be semantics, but the first process in the container is an “init” regardless if it’s a proper init or just a process.
As far as light-weight VMs: containers are supposed to be lightweight VMs (But defining lightweight can be challenging)
- stephenr 8y agoDocker is designed to be a 'application' container - 1 process per container. LXC is designed to be a 'system' container - an entire OS except the Kernel per container. People mis-use tools all the time - that doesn't change their original design or intended use.
- mirceal 8y agolet's agree to disagree on this one. I am not sure that system and application container are or should be different, but it's okay if we have a different opinion.
- root_axis 8y agohttps://linuxcontainers.org https://linuxcontainers.org You might disagree, but the distinction is meaningful within the community.