Chris Taylor demonstrates a couple ways of switching from Linux to Windows containers in Docker for Windows:
If you are using Docker for Windows and want to switch between Linux or Windows containers you can do this by right clicking the Docker “Whale” in the systray and selecting “Switch to Windows containers”:
….but no one likes clicking around do they!
There is an alternative way to do this which I use in my docker session demo’s which makes things so much easier and the switch is a lot quicker!
Click through for the Powershell call, which has the added benefit of being scriptable.