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

Diaz, William 1 Reputation point
2021-09-24T01:01:58.247+00:00

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,156 questions
{count} votes