windows-2019 hosted agent: creating Docker container from tests fails (no Docker Environment found) #3937
LucasReehorst
started this conversation in
Installed software
Replies: 1 comment 1 reply
-
Discovered this issue does not occur when we use the ubuntu-20.04 hosted-agent, which I think solves the issue for us. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When we run our Azure DevOps pipeline on the windows-2019 Microsoft-hosted agent, we find that the tests we run as part of a Maven 3 task that requires a Docker installation to be present fail (we are trying to run tests that use https://www.testcontainers.org/ to provide us with a ms sql server).
When we run the tests locally the tests succeed and we see the following log statements:
INFO o.testcontainers.DockerClientFactory : Checking the system...
INFO o.testcontainers.DockerClientFactory : ✔︎ Docker server version should be at least 1.6.0
INFO o.testcontainers.DockerClientFactory : ✔︎ Docker environment should have more than 2GB free disk space
INFO ?.m.com/mssql/server:2017-CU12] : Creating container for image: mcr.microsoft.com/mssql/server:2017-CU12
When we run it on the windows-2019 agent, the tests fail and we see this:
Docker 20.10.6 is listed in the Installed Software for the windows-2019 agent.
Can anyone help me figure out what the problem might be? (If anyone could point me to a more appropriate place to ask this question, that would be appreciated too.)
Beta Was this translation helpful? Give feedback.
All reactions