For example I have used docker container which is based on Ubuntu, running on my MacOS.
Doesn't that mean the process inside docker container actually runs on a different Operating System than my host one? I am really confused by this.
Coz people say docker is light coz the application directly runs on the host OS, but in the above case isn't the application still running on the OS (ubuntu) inside the docker? And the docker file is built on top of Ubuntu base image, how is that different from a VM then?