Skip to content
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

Windows Server 2016 PR validation is failing with bad Docker installation #1172

Closed
lbussell opened this issue Sep 23, 2024 · 2 comments
Closed

Comments

@lbussell
Copy link
Collaborator

Our public Windows Server 2016 build agent VM images were updated and something is wrong with the Docker installation in them. The symptom is that the Docker daemon is not running when you try to invoke the Docker CLI:

error during connect: this error may indicate that the docker daemon is not running: Post "[http://](http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.47/images/create?fromImage=mcr.microsoft.com%2Fdotnet-buildtools%2Fimage-builder&tag=2532486%22)
@lbussell
Copy link
Collaborator Author

Docker versions newer than 20.10.24 don't support Windows Server 2016.

As a temporary workaround, I have asked DDFUN to create a new Windows Server 2016 VM image with Docker version 20.10.24 installed. That should unblock PR validation.

Separately, I am investigating #1081 as a long-term solution.

@lbussell
Copy link
Collaborator Author

[Triage] This is fixed by using an older version of Docker per the comment above. Here is a passing run: https://github.com/dotnet/dotnet-docker/blob/98c945054b112b396c3a77efcfe32ee86d49afb7/README.aspnet.md?plain=1#L59-L66

The long-term investigation will continue as part of #1081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant