using linux as unique option for Java
getting:
age operating system “windows” cannot be used on this platform.
Any chance will have java on windows or will it be possible to run this for linux?
Docker instructions:
using linux as unique option for Java
getting:
age operating system “windows” cannot be used on this platform.
Any chance will have java on windows or will it be possible to run this for linux?
Docker instructions:
From the instructions for Linux and MacOS in that article, it looks like the emulator itself only exists for Windows – it just can interact with another app running in Linux or MacOS over a network.
Docker is available in the Windows build environment but there’s no nested virtualization in it (last time I checked) so the container’s kernel must match the VM’s kernel – i.e. Windows Server 1809.
So, from your response I have to use os: windows, however as I understand java is suported in linux only in Travis. Is this right?
Java is not preinstalled but you can install it yourself, e.g. via Chocolatey.
In any case, I’ve checked that the CosmosDB emulator Docker image has a different kernel than a Windows worker and Hyper-V is still not available.
So I can only refer you to a feature request,
Succeeded with a install java, install maven run tests flow:
Now got suppose what you mentioned:
Your build has been stopped.
148C:\Program Files\Docker\docker.exe: Error response from daemon: hcsshim::CreateComputeSystem e027ac34c3de6bb178260ea503ff3f2b9171dfcde99f4ada710ecf2100fd821f: The container operating system does not match the host operating system.