-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LCOW Windows Server 2019 problem #38320
Comments
I am also seeing this error on Windows Server 2019. |
Downloading a later lcow zip in the gist PS1 script made it work however it is all experimental. |
Hi, here is why the older releases of lcow will not work: CU |
Sure. But for me the mixed message on ws2019 support for lcow is a issue. |
@JensNordenbro because LCOW is experimental feature I recommend that you ask help from https://github.com/linuxkit/lcow Anyway, I would appreciate if you can share use cases where you are planning to use this feature on MicrosoftDocs/Virtualization-Documentation#851 |
@olljanat, I started at linuxkit/lcow, they refered me here😁 I will just close this and await non-experimental support. I read your posts ans share your frustration on a lot of issues. At this point adopting Docker on Windows feels like being on thin ice. |
same error here even using the latest release.zip and docker executables as described here: https://github.com/linuxkit/lcow. I am quite surprised the state of running linux containers on widnows server 2019. I thought everything would just work OOTB, but not even close. It is useless to run anything on windows server if lcom support is not working as most of the images on the docker hub are linux based. |
@JensNordenbro @kkzz8888 @dallaren @kirkone btw there is epic of LCOW on #33850 where you can see state of it readiness. I have also created this MicrosoftDocs/Virtualization-Documentation#851 item to Microsoft docs repo where I really would like to get feedback that which kind of use cases where people are planning to use this feature if/when it is ready? (plz answer either of those referenced issues. Not to this closed one). |
I made a write-up based on this issue (and other pages) to explain how to setup Docker LCOW on Windows Server 2019. I am posting it here, as I think it might be useful to readers of this thread: |
This is the closest I could get to running Npgsql's CI Docker image on one of GitHub Actions' Windows VMs. Not sure exactly what's wrong with it, but some combination of Docker and LCOW versioning sounds like a viable suspect. ``` 2019-10-02T03:56:30.0831253Z Current runner version: '2.158.0' 2019-10-02T03:56:30.0853419Z Prepare workflow directory 2019-10-02T03:56:30.4552937Z Prepare all required actions 2019-10-02T03:56:30.4899029Z Download action repository 'actions/checkout@v1' 2019-10-02T03:56:31.8268640Z Download action repository 'actions/setup-dotnet@v1.0.2' 2019-10-02T03:56:32.5819714Z Download action repository 'actions/upload-artifact@v1' 2019-10-02T03:56:33.5115112Z ##[group]Run # Configure Docker for experimental LCOW support. 2019-10-02T03:56:33.5194915Z ;1m# Configure Docker for experimental LCOW support. 2019-10-02T03:56:33.5195092Z ;1m[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "1", "Machine")m 2019-10-02T03:56:33.5195236Z ;1mSet-Content -Path "$env:ProgramData\docker\config\daemon.json" -Value '{ "experimental":true }' 2019-10-02T03:56:33.5195362Z ;1mRestart-Service docker 2019-10-02T03:56:33.5195678Z ;1m 2019-10-02T03:56:33.5195953Z ;1m# See: moby/moby#38320 2019-10-02T03:56:33.5196092Z ;1mInvoke-WebRequest -Uri "$env:LCOW_URL" -OutFile 'lcow.zip' 2019-10-02T03:56:33.5196807Z ;1mExpand-Archive -Path 'lcow.zip' -DestinationPath 'C:\Program Files\Linux Containers' 2019-10-02T03:56:33.7400314Z shell: C:\Program Files\PowerShell\6\pwsh.EXE -command ". '{0}'" 2019-10-02T03:56:33.7400448Z env: 2019-10-02T03:56:33.7400573Z LCOW_URL: https://github.com/linuxkit/lcow/releases/download/v4.14.35-v0.3.9/release.zip 2019-10-02T03:56:33.7400680Z ##[endgroup] 2019-10-02T03:57:08.4812837Z ##[group]Run docker run --detach --name postgresql -p 5432:5432 $IMAGE 2019-10-02T03:57:08.4813118Z ;1mdocker run --detach --name postgresql -p 5432:5432 $IMAGEm 2019-10-02T03:57:08.4828972Z shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0} 2019-10-02T03:57:08.4829090Z env: 2019-10-02T03:57:08.4829188Z IMAGE: npgsql/postgres:10 2019-10-02T03:57:08.4829280Z ##[endgroup] 2019-10-02T03:57:22.8289192Z Unable to find image 'npgsql/postgres:10' locally 2019-10-02T03:57:23.3165293Z 10: Pulling from npgsql/postgres 2019-10-02T03:57:23.4258814Z 0a4690c5d889: Pulling fs layer 2019-10-02T03:57:23.4259636Z 723861590717: Pulling fs layer 2019-10-02T03:57:23.4260182Z db019468bdf4: Pulling fs layer 2019-10-02T03:57:23.4260410Z 91cb81a60371: Pulling fs layer 2019-10-02T03:57:23.4260609Z a2a4ab07588d: Pulling fs layer 2019-10-02T03:57:23.4260805Z a7ccdc2a5f31: Pulling fs layer 2019-10-02T03:57:23.4260996Z 93687df2bb93: Pulling fs layer 2019-10-02T03:57:23.4261263Z f00839cf3313: Pulling fs layer 2019-10-02T03:57:23.4261440Z 722253fa84b2: Pulling fs layer 2019-10-02T03:57:23.4261638Z 5fc834e81b3c: Pulling fs layer 2019-10-02T03:57:23.4262108Z b5bfe36fd72d: Pulling fs layer 2019-10-02T03:57:23.4262638Z b2733b8e24de: Pulling fs layer 2019-10-02T03:57:23.4262946Z 9f032a1876d3: Pulling fs layer 2019-10-02T03:57:23.4263222Z 5f1457b9fa28: Pulling fs layer 2019-10-02T03:57:23.4263323Z 1bcbf401ee56: Pulling fs layer 2019-10-02T03:57:23.4263448Z 0ab64e3adec9: Pulling fs layer 2019-10-02T03:57:23.4263715Z d87d30736938: Pulling fs layer 2019-10-02T03:57:23.4263816Z ff27d3260919: Pulling fs layer 2019-10-02T03:57:23.4263916Z 19be46138d0e: Pulling fs layer 2019-10-02T03:57:23.4264199Z 28c0b912d90c: Pulling fs layer 2019-10-02T03:57:23.4264870Z 91cb81a60371: Waiting 2019-10-02T03:57:23.4264984Z a2a4ab07588d: Waiting 2019-10-02T03:57:23.4265093Z a7ccdc2a5f31: Waiting 2019-10-02T03:57:23.4265202Z 93687df2bb93: Waiting 2019-10-02T03:57:23.4265321Z f00839cf3313: Waiting 2019-10-02T03:57:23.4265429Z 722253fa84b2: Waiting 2019-10-02T03:57:23.4265541Z 5fc834e81b3c: Waiting 2019-10-02T03:57:23.4265622Z b5bfe36fd72d: Waiting 2019-10-02T03:57:23.4265728Z b2733b8e24de: Waiting 2019-10-02T03:57:23.4265836Z 9f032a1876d3: Waiting 2019-10-02T03:57:23.4266023Z 5f1457b9fa28: Waiting 2019-10-02T03:57:23.4266153Z 1bcbf401ee56: Waiting 2019-10-02T03:57:23.4266792Z 0ab64e3adec9: Waiting 2019-10-02T03:57:23.4266902Z d87d30736938: Waiting 2019-10-02T03:57:23.4268468Z ff27d3260919: Waiting 2019-10-02T03:57:23.4268560Z 19be46138d0e: Waiting 2019-10-02T03:57:23.4268628Z 28c0b912d90c: Waiting 2019-10-02T03:57:23.5278723Z db019468bdf4: Verifying Checksum 2019-10-02T03:57:23.5280401Z db019468bdf4: Download complete 2019-10-02T03:57:23.6527440Z 91cb81a60371: Verifying Checksum 2019-10-02T03:57:23.6529538Z 91cb81a60371: Download complete 2019-10-02T03:57:23.6753781Z 0a4690c5d889: Download complete 2019-10-02T03:57:23.8268797Z a7ccdc2a5f31: Verifying Checksum 2019-10-02T03:57:23.8269468Z a7ccdc2a5f31: Download complete 2019-10-02T03:57:23.8269704Z a2a4ab07588d: Verifying Checksum 2019-10-02T03:57:23.8269907Z a2a4ab07588d: Download complete 2019-10-02T03:57:23.8270095Z 723861590717: Verifying Checksum 2019-10-02T03:57:23.8270282Z 723861590717: Download complete 2019-10-02T03:57:23.9115081Z 93687df2bb93: Verifying Checksum 2019-10-02T03:57:23.9155212Z 93687df2bb93: Download complete 2019-10-02T03:57:23.9986517Z f00839cf3313: Verifying Checksum 2019-10-02T03:57:23.9996619Z f00839cf3313: Download complete 2019-10-02T03:57:24.2979800Z 5fc834e81b3c: Verifying Checksum 2019-10-02T03:57:24.2981954Z 5fc834e81b3c: Download complete 2019-10-02T03:57:24.2982811Z b5bfe36fd72d: Verifying Checksum 2019-10-02T03:57:24.2983138Z b5bfe36fd72d: Download complete 2019-10-02T03:57:24.2983446Z 722253fa84b2: Verifying Checksum 2019-10-02T03:57:24.2983930Z 722253fa84b2: Download complete 2019-10-02T03:57:24.3007899Z b2733b8e24de: Verifying Checksum 2019-10-02T03:57:24.3010100Z b2733b8e24de: Download complete 2019-10-02T03:57:25.8227572Z 5f1457b9fa28: Verifying Checksum 2019-10-02T03:57:25.8240077Z 5f1457b9fa28: Download complete 2019-10-02T03:57:25.8243407Z 9f032a1876d3: Verifying Checksum 2019-10-02T03:57:25.8245963Z 9f032a1876d3: Download complete 2019-10-02T03:57:25.8250459Z 0ab64e3adec9: Verifying Checksum 2019-10-02T03:57:25.8250870Z 0ab64e3adec9: Download complete 2019-10-02T03:57:25.8251185Z d87d30736938: Verifying Checksum 2019-10-02T03:57:25.8251521Z d87d30736938: Download complete 2019-10-02T03:57:25.8251824Z ff27d3260919: Verifying Checksum 2019-10-02T03:57:25.8253627Z ff27d3260919: Download complete 2019-10-02T03:57:25.8254596Z 19be46138d0e: Verifying Checksum 2019-10-02T03:57:25.8255457Z 19be46138d0e: Download complete 2019-10-02T03:57:25.8255849Z 1bcbf401ee56: Verifying Checksum 2019-10-02T03:57:25.8256193Z 1bcbf401ee56: Download complete 2019-10-02T03:57:25.8256728Z 28c0b912d90c: Verifying Checksum 2019-10-02T03:57:25.8257215Z 28c0b912d90c: Download complete 2019-10-02T03:57:26.9502737Z 0a4690c5d889: Pull complete 2019-10-02T03:57:27.4363268Z 723861590717: Pull complete 2019-10-02T03:57:28.4398007Z db019468bdf4: Pull complete 2019-10-02T03:57:28.7672415Z 91cb81a60371: Pull complete 2019-10-02T03:57:29.7693897Z a2a4ab07588d: Pull complete 2019-10-02T03:57:30.0434916Z a7ccdc2a5f31: Pull complete 2019-10-02T03:57:30.2972715Z 93687df2bb93: Pull complete 2019-10-02T03:57:31.0129268Z f00839cf3313: Pull complete 2019-10-02T03:57:35.3845238Z 722253fa84b2: Pull complete 2019-10-02T03:57:35.6858352Z 5fc834e81b3c: Pull complete 2019-10-02T03:57:36.3524646Z b5bfe36fd72d: Pull complete 2019-10-02T03:57:36.6031377Z b2733b8e24de: Pull complete 2019-10-02T03:57:36.8715134Z 9f032a1876d3: Pull complete 2019-10-02T03:57:37.1244142Z 5f1457b9fa28: Pull complete 2019-10-02T03:57:46.1398495Z 1bcbf401ee56: Pull complete 2019-10-02T03:57:46.4255959Z 0ab64e3adec9: Pull complete 2019-10-02T03:57:46.7155052Z d87d30736938: Pull complete 2019-10-02T03:57:47.5943565Z ff27d3260919: Pull complete 2019-10-02T03:57:47.9088515Z 19be46138d0e: Pull complete 2019-10-02T03:57:48.7383064Z 28c0b912d90c: Pull complete 2019-10-02T03:57:48.7755104Z Digest: sha256:817a7602a0c7e113367a9490b1b91538a16dd3d8cfe32ffa43120114dedc25d8 2019-10-02T03:57:48.8029315Z Status: Downloaded newer image for npgsql/postgres:10 2019-10-02T03:57:51.2247116Z C:\Program Files\Docker\docker.exe: Error response from daemon: failed to start service utility VM (createreadwrite): hcsshim::CreateComputeSystem 5e8d76959779c669fa09b2e1856ce5457636d2c227615f70708c8fbdba4916e9_svm: The request is not supported. 2019-10-02T03:57:51.2248566Z (extra info: {"SystemType":"container","Name":"5e8d76959779c669fa09b2e1856ce5457636d2c227615f70708c8fbdba4916e9_svm","Layers":null,"HvPartition":true,"HvRuntime":{"ImagePath":"C:\\Program Files\\Linux Containers","LinuxInitrdFile":"initrd.img","LinuxKernelFile":"kernel"},"ContainerType":"linux","TerminateOnLastHandleClosed":true}). 2019-10-02T03:57:51.2248798Z See 'C:\Program Files\Docker\docker.exe run --help'. 2019-10-02T03:57:51.2316443Z ##[error]Process completed with exit code 125. 2019-10-02T03:57:51.2508727Z Cleaning up orphan processes ```
I was expecting LCOW to work out of the box on Windows Server 2019.
This does not seem to be the case. What is the statement on this and if it is not supposed to work, how do I get experimental mode to work?
I have been trying https://gist.githubusercontent.com/riezebosch/b683ef501f35050abf5fdd6a86926bb9/raw/install-docker.ps1 to be able to run a side-by-side installation however all I get is:
The text was updated successfully, but these errors were encountered: