79520472

Date: 2025-03-19 14:28:47
Score: 0.5
Natty:
Report link

Check the preinstalled software on the default microsoft hosted images; let's see what's on the the current windows-latest for example:

you'll notice that both WSL and Docker are installed. But there are at least 2 problems for you:

You could try to setup a step that updates WSL to v2 and then a command to switch to linux based virtualization for docker. But that's gonna cost you pipeline execution time, and given the particularly pricy costs of Azure, i'd suggest another way;

You could try and use the new windows-2025 image for this pipeline, that comes preinstalled with Docker and WSLv2 as default;

Theoretically this new image has been created specifically to resolve your problem, which is in line with Micro$oft moving towards the windows server + containerized linux services model

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jiulia