title: Docker command line to switch to running linux containers on Windows Core machine
body: <p>I inherited a Windows Server Core machine, and I want to run linux-based containers in docker on that machine.  It is currently set up to run windows-based containers, so I want to switch to running linux containers.  </p>
  
  <p>When I try to use a linux-based image, I get this error:</p>
  
  <pre><code>PS C:\Program Files\Docker&gt; docker pull my-linux-based-image
  Pulling from my-linux-based-image
  image operating system "linux" cannot be used on this platform
  </code></pre>
  
  <p>On my Windows desktop machine, I'd use the Docker Desktop context menu from the system tray to switch between linux and windows containers, but that's not available in Windows Core.  Can I make this switch from the command line?</p>
  
  <p>I see the suggestion to use <code>DockerCli.exe</code> but I don't have this installed, even after making sure I installed the latest docker package. Is there a separate cli-related package I need?</p>
  
  <p>Here's the version info for the docker install on my Windows Core machine:</p>
  
  <pre><code>PS C:\Program Files\Docker&gt; docker version
  Client: Docker Engine - Enterprise
   Version:           18.09.8
   API version:       1.39
   Go version:        go1.10.8
   Git commit:        90e30bdf98
   Built:             07/16/2019 17:13:22
   OS/Arch:           windows/amd64
   Experimental:      false
  
  Server: Docker Engine - Enterprise
   Engine:
    Version:          18.09.8
    API version:      1.39 (minimum version 1.24)
    Go version:       go1.10.8
    Git commit:       90e30bdf98
    Built:            07/16/2019 17:11:04
    OS/Arch:          windows/amd64
    Experimental:     false
  </code></pre>