If you are using Docker for Windows there might be a need to switch between Linux OR Windows container at times.

The first way to achieve this is to right click on the whale icon from the system tray and choose either the option “Switch to Linux Containers…” OR “Switch to Windows Containers…”


The other way to achieve this from the CMD/Powershell is to execute the below command:

    & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon


There is a running process “com.docker.proxy.exe” which listens on the default named pipe : \.\pipe\docker_engine [for linux containers].

If you switch from Linux to Windows container the Windows Docker engine “dockerd.exe” will be started for you which listens on \.\pipe\docker_engine_windows & the above proxy process redirects to this.