# Operating System - Extra

Operating system like Ubuntu, Fedora consists of 2 things: same OS kernel (which is Linux and used for interacting with the underlying hardware) and different software that differentiate between OSs. So we have common Linux kernel shared across all OSs. Docker containers share the underlying kernel, meaning docker with Ubuntu OS can run other flavor of OS (Fedora, etc) as long as they are all based on the same kernel, in this case Linux. All they need is the additional software that differentiate the OSs.

So for Windows that do not share the Linux kernel, you won't be able to run a Windows container on a docker host with Linux. So when you are installing docker on Windows, you are actually running a linux container on linux virtual machine under the hood. So is using Windows disadvantage not being able to run another kernel on the OS? The answer is no, because unlike hypervisor, docker is not meant to virtualize and run different OS and kernel on the same hardware.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edsonha.gitbook.io/my-gitbook/junior-to-senior-1/docker/operating-system-extra.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
