Docker Community Forums

Share and learn in the Docker community.

How can I switch my docker-machine to run windows?


#1

Hi,
I’m using Docker toolbox, running on win10 home x64.
I want to get the windows iis image:
docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019
problem is that when I pull it I get: “image operating system “windows” cannot be used on this platform”.

so I guess what I need is to switch my docker-machine to windows instead of boot2docker?
now how do I do that with docker toolbox?
(I know that in docker for windows has this option in the menu)

$ docker version
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm

Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:52:55 2018
OS/Arch: linux/amd64
Experimental: false