switching docker in windows-latest microsoft hosted agent to run linux container

Diaz, William 1 Reputation point

I have a pipeline that is using a windows-latest microsoft agent. one of the tasks is a powershell script that runs a small application using docker. however the docker in the agent is set to windows containers, but the application is in a linux container. How do I switch the docker in the agent from windows to linux?

I found online that one can switch with dockerCLI.exe but i didn't find DockerCLI.exe installed on the agent. Thanks

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,219 questions
{count} votes