Kitematic: image operating system "linux" cannot be used on this platform

Created on 12 Jul 2017  路  4Comments  路  Source: docker/kitematic

Expected behavior

I installed Docker for Windows and switched to containers.

Actual behavior

When I try to install Debian as container then I get this error message:

image operating system "linux" cannot be used on this platform

In former versions of Docker Machine for Windows I had not problems with this.

I installed this version:

Version 17.06.0-ce-win18 (12627)
Channel: stable
d9b6651

I have Hyper-V activated.

Most helpful comment

Docker for windows allows switching between Linux containers and native Windows containers; if you want to use Linux containers (such as Debian), make sure you enabled that mode

See this section in the documentation https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers

All 4 comments

Docker for windows allows switching between Linux containers and native Windows containers; if you want to use Linux containers (such as Debian), make sure you enabled that mode

See this section in the documentation https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers

To switch to windows containers

In powershell (open as an admin):

& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchDaemon .

Still having this issue,

Solution: switch docker to linux in systray https://stackoverflow.com/questions/43346580/docker-image-operating-system-windows-cannot-be-used-on-this-platform Then run a docker ps in PowerShell as admin to wake things up, wait 10 seconds and then you can build your linux container on Windows 10 just fine!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EugeneKrapivin picture EugeneKrapivin  路  4Comments

natery2000 picture natery2000  路  3Comments

tijn72 picture tijn72  路  4Comments

matteo-bombelli picture matteo-bombelli  路  3Comments

STaRDoGG picture STaRDoGG  路  3Comments