|
|
|
|
|
by vacri
3535 days ago
|
|
> Docker restricts the container to a single process only. No, there is only a single process treated as init in the container, but you can spawn off multiple child processes. > The default docker baseimage OS template is not designed to support multiple applications, processes or services like init, cron, syslog, ssh etc. If you want init, cron, syslog, ssh, and your app(s) all rolled up into one, you want a VM, not a container. |
|
It was extremely clear that the person who wrote the text you are replying to understands this as they specifically cover this fact with respect to using a service management daemon: you are just being pedantic with the wording to complain about this :/.
> If you want init, cron, syslog, ssh, and your app(s) all rolled up into one, you want a VM, not a container.
No: a virtual machine would burn a ton of performance as it would also come with its own kernel. The entire premise here is to be able to share the kernel but split the userspace in a sane way.