Timeline for answer to Why do we use a OS Base Image with Docker if containers have no Guest OS? by drookie
Current License: CC BY-SA 3.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 25, 2022 at 7:40 | comment | added | Aakash | The first line itself clarified all my doubts about the same question. Thank you | |
| Feb 12, 2020 at 22:13 | comment | added | duct_tape_coder | @QuadSquad Thanks for the update. I had figured it out by now. Worth noting that WSL2 is now available and can be used instead of Hyper-V. | |
| Feb 2, 2020 at 12:03 | comment | added | QuadSquad | @duct_tape_coder. Docker will install a Linux kernel on top of your windows using the tech called Hyper-V | |
| Jan 25, 2019 at 5:08 | comment | added | drookie | This is simple: they merey run under full-fledged virtualization stack of Hyper-V, inside a native Linux VM: docs.microsoft.com/en-us/virtualization/windowscontainers/… . | |
| Jan 24, 2019 at 21:32 | comment | added | duct_tape_coder | I like your explanation but how do you explain running Linux containers on Windows then? Do Server 2016 and Windows 10 contain a Linux kernel to enable the use of Docker? Is that why those versions are necessary? | |
| Oct 4, 2017 at 14:42 | comment | added | James S | So how does the guest OS know to use the host OS' kernel (and how to do so)? AFAIK, the docker image bases use standard OS images. In your example, it's not like there's a custom CentOS build which knows to use the parent's kernel? Or is it as simple as a file system(aufs) trick where Docker redirects guests' (CentOS') reads of /boot to the host (Ubuntu)? In that case, the guest (CentOS) would install its own copy of /boot, but it'd just never get read? | |
| Nov 4, 2016 at 9:47 | comment | added | Francis Norton | So that's why I can host my compiled golang code in the empty Scratch container - because the compiled code needs only the kernel? | |
| Aug 17, 2016 at 18:50 | vote | accept | user1620696 | ||
| Feb 11, 2016 at 17:15 | history | answered | drookie | CC BY-SA 3.0 |