Great news! The latest docker for windows application now supports switching between the linux and windows daemons!
This means you can run and manage Windows Containers and Linux containers from the same client on Windows 10 and Windows Server 2016.
If you want to try this out for yourself, you’ll need the following:
- The Docker for Windows app, version 1.12.1-beta26 or later.
- The Windows Container feature (install the container using the Windows Containers Quick Start guide, but skip the daemon and client installation)
By default, the Docker client will connect to the Linux daemon, and show Linux based containers, as you can see here:
To switch the client to use the Windows Containers daemon, select the option from the SysTray icon:
It’ll take a moment for the switch to complete, but when it does you’ll then be able to see windows based containers, as you can see here
Be aware that there’s still some teething issues with switching, and you may see timeouts when switching to the Windows daemon, but it works and makes it much simpler for those of us using a mix of windows and linux containers.
Oh, before I forget and before you ask, the answer is yes. Yes, you can switch the docker client between the windows and linux daemons without affecting any running containers. Nice!