Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6402

Docker Container vs Virtual Machine

$
0
0

I am using docker desktop on windows 10. I downloaded an image for windows server core 1909.

then created two containers from the same image.

Docker run -it mcr.microsoft.com/windows/servercore:1909 powershell.exe

when I ran sysinfo on both, it gave me different hostname for both OS.

how do I see that kernel is shared? because I see these are two different VMs which is no different than hyper-v VM of the core OS.

I though docker container is sharing a kernel but I don't see the same OS underneath?

any idea?


Viewing all articles
Browse latest Browse all 6402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>