I am trying to run a Nano Server image on Windows Server 2016 as a Windows container. However, I get the following error:
docker run microsoft/nanoserver
docker: Error response from daemon: container ce7d302228b7c55bc9b7ba6ea7d2221004b8984631e8dd45e8cd321bf887f27e encountered an error during CreateContainer failed in Win32: The operating system of the container does not match the operating system of the host. (0xc0370101) extra info: {“SystemType”:“Container”,“Name”:“ce7d302228b7c55bc9b7ba6ea7d2221004b8984631e8dd45e8cd321bf887f27e”,“Owner”:“docker”,“IsDummy”:false,“VolumePath”:“\\?\Volume{c66c9e44-760d-11e6-98b9-92ddc0df68d5}”,“IgnoreFlushesDuringBoot”:true,“LayerFolderPath”:“C:\ProgramData\docker\windowsfilter\ce7d302228b7c55bc9b7ba6ea7d2221004b8984631e8dd45e8cd321bf887f27e”,“Layers”:[{“ID”:“36529276-c47b-5eb6-aa79-8cf29e3c3eff”,“Path”:“C:\ProgramData\docker\windowsfilter\b6a5ddfb2ccb5ae384314adc049cc30da2eb4f5cc2a59866a2afe6ee997ea24d”}],“HostName”:“ce7d302228b7”,“MappedDirectories”:,“SandboxPath”:“”,“HvPartition”:false,“EndpointList”:[“5d1b3914-3e52-4059-afe0-bd681388caef”],“HvRuntime”:null,“Servicing”:false}.
I have installed the Windows Server 2016 Standard with GUI. I was under the impression that I could run Nano Server container on Windows Server. I know that the WindowsServerCore image cannot run on a Windows Nano Server, correct me if I am wrong.
My question: how can I run the nanoserver container on Windows Server 2016.