Answers: <p><code>
  C:\Users\romain.prevost&gt;docker info  -f '{{.OSType}}/{{.Architecture}}'
  'linux/x86_64'
  </code></p>
  
  <p>Now, if you are running Docker for Windows, right click the Docker icon in your tray, and select "Switch to windows containers"</p>
  
  <p><code>
  C:\Users\romain.prevost&gt;docker info  -f '{{.OSType}}/{{.Architecture}}'
  'windows/x86_64'
  </code></p>
  
  <p>Voilà! Essentially, Docker for Windows includes two different engines : Linux in a VM, and Windows, natively on your windows kernel. But soon, there will be options to run Linux containers natively on the Windows kernel. Exciting times!</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-03-12T06:43:12.903Z
Answers: AFAIK only Windows Server can run native containers without Hyper-V, though.
Answers: chupasaurus
Answers: CC BY-SA 4.0
Answers: 2019-03-12T08:01:54.047Z
Answers: Windows 10 can, starting from the Pro version.
Answers: Romain Prévost
Answers: CC BY-SA 4.0
Answers: 2019-03-12T10:36:50.017Z
Answers: The reason: all Windows native images are based on Server editions which are supposed to run on a different kernel.
Answers: chupasaurus
Answers: CC BY-SA 4.0
Answers: 2019-03-12T11:04:19.523Z
Answers: Hoooooo, I did not know about Hyper-V isolation on Windows 10 for Windows containers. Thank you :)
Answers: Romain Prévost
Answers: CC BY-SA 4.0
Answers: 2019-03-11T10:43:40.497Z
Answers: 2019-03-11T10:43:40.497Z
Answers: Romain Prévost
Answers: <p>To run windows container you need a windows docker engine.
  Have a look to this answer: <a href="https://stackoverflow.com/questions/42158596/can-windows-containers-be-hosted-on-linux">https://stackoverflow.com/questions/42158596/can-windows-containers-be-hosted-on-linux</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2019-03-11T11:07:06.283Z
Answers: That's a bit terse as an answer, if this SO Q/A happens to get deleted there's nothing left here. Attributing is necessary of course, but please take some time to write in your own words how this linked answered match this question here.
Answers: Tensibai
Answers: CC BY-SA 4.0
Answers: 2019-03-11T10:35:54.073Z
Answers: 2019-03-11T10:59:47.413Z
Answers: 2019-03-11T10:59:47.413Z
Answers: sgargel
Body: <p>I have managed to install docker on Windows, and I can run docker from my Ubuntu bash prompt of the WSL. But when I try to pull or run a Windows image from docker hub, I get the following error:</p>
  
  <pre><code>root@DESKTOP-J9B5HJG:~# docker info  -f '{{.OSType}}/{{.Architecture}}'
  linux/x86_64
  root@DESKTOP-J9B5HJG:~# docker pull mcr.microsoft.com/windows:1809-amd64
  Error response from daemon: manifest for mcr.microsoft.com/windows:1809-amd64 not found
  root@DESKTOP-J9B5HJG:~#
  </code></pre>
  
Comments: CC BY-SA 4.0
Comments: 2019-03-11T11:04:40.047Z
Comments: Your answer is in the documentation: https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers
Comments: Tensibai
Tags: <docker><dockerhub>
Title: How to run a Windows container inside Windows Subsystem for Linux (WSL)?
UserDisplayName: xerxes
ThreadText: # How to run a Windows container inside Windows Subsystem for Linux (WSL)?
  
  (Asked by: username_0 on 2019-03-09)
  
  I have managed to install docker on Windows, and I can run docker from my Ubuntu bash prompt of the WSL. But when I try to pull or run a Windows image from docker hub, I get the following error:
  
  ```
  root@DESKTOP-J9B5HJG:~# docker info  -f '{{.OSType}}/{{.Architecture}}'
  linux/x86_64
  root@DESKTOP-J9B5HJG:~# docker pull mcr.microsoft.com/windows:1809-amd64
  Error response from daemon: manifest for mcr.microsoft.com/windows:1809-amd64 not found
  root@DESKTOP-J9B5HJG:~#
  
  ```
  
  **Tags:** docker, dockerhub
  
  > **Comments:**
  > **username_1**: Your answer is in the documentation: https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-03-11. Score: 4
  
  `C:\Users\username_2.prevost>docker info -f '{{.OSType}}/{{.Architecture}}'
  'linux/x86_64'`
  
  Now, if you are running Docker for Windows, right click the Docker icon in your tray, and select "Switch to windows containers"
  
  `C:\Users\username_2.prevost>docker info -f '{{.OSType}}/{{.Architecture}}'
  'windows/x86_64'`
  
  Voilà! Essentially, Docker for Windows includes two different engines : Linux in a VM, and Windows, natively on your windows kernel. But soon, there will be options to run Linux containers natively on the Windows kernel. Exciting times!
  
  > **Comments:**
  > **username_3**: AFAIK only Windows Server can run native containers without Hyper-V, though.  
  > **username_2**: Windows 10 can, starting from the Pro version.  
  > **username_3**: The reason: all Windows native images are based on Server editions which are supposed to run on a different kernel.  
  > **username_2**: Hoooooo, I did not know about Hyper-V isolation on Windows 10 for Windows containers. Thank you :)  
  
  ---
  
  ### Answer by username_4 on 2019-03-11. Score: 0
  
  To run windows container you need a windows docker engine.
  Have a look to this answer: <https://stackoverflow.com/questions/42158596/can-windows-containers-be-hosted-on-linux>
  
  > **Comments:**
  > **username_1**: That's a bit terse as an answer, if this SO Q/A happens to get deleted there's nothing left here. Attributing is necessary of course, but please take some time to write in your own words how this linked answered match this question here.  
  
  ---
  
  