I'm a student who is studying Docker first time and uses to Virtual Machine. I've understood when I use virtual machines on my laptop, the layer is Application -> Guest OS -> Hypervisor -> Host OS and in case of Docker Application -> Docker Engine -> Host OS
It didn't make me confused, but I found I can connect docker containers' shell. And if I use 'ubuntu image,' container's shell looks like ubuntu's bash shell.
So I'm confused about what's different with VM and container. Both VM and container have each operating system, and I can connect through "SSH" or "docker attach."
What's different with Docker's OS image such as Ubuntu and Guest OS in VM?