Does docker uses hypervisors like in windows i have microsoft hyper-v so docker desktop using it like i have to turn on my hyper-v for using docker but then how it is totally different from vms?
Docker on Linux: nope, the docker engine runs directly on the os.
Docker on Windows/MacOS: requires a linux vm to run the docker engine.
Though, for Windows 10 there is a Docker WSL2 Backend that runs docker nativly on Windows Subsystem for Linux 2.
I am quite that if you use the forum search, you will find plenty of comparisons on how docker containers are different than vms