Sorry if this is a silly question, but:
I came from vagrant where we have a full featured OS in each machine, where running ps -aux
we can see the OS processes and our services (I know to some extent the difference between applications running in VMs and Docker).
Then I've just built some containers using docker-compose and logged in into a container using bash (which is based on debian:jessie image). After running ps -aux
I can only see the services I installed, not a single OS's process. Why? Where they are? How this works?
Docker has a VM in which the containers run, each container may be based on a different distribution, so, is the OS containerized also, giving the fact the there's the host's OS (VM) for docker?