title: Does Docker image include OS?
body: <p>I have below Dockerfile&quot;</p>
  <pre><code>FROM openjdk:12.0.2
  
  EXPOSE 8080
  
  ADD ./build/libs/*.jar app.jar
  
  ENTRYPOINT [&quot;java&quot;,&quot;-jar&quot;,&quot;/app.jar&quot;]
  </code></pre>
  <p>The resulting Docker image encapsulates Java program. When I deploy this Docker image to Windows Server or Linux, does the image always include OS like Linux which runs on top of host OS (Windows Server or Linux) ?</p>
  <p>I am asking this question in the sense of Docker image being physical box which contains other boxes (one being openjdk), does this box also contain Linux OS box that I can pull out of it ( assuming if this was possible) and install it as Linux OS on empty machine?</p>