I am trying to execute Neoload performance test scenario using docker from Azure VMSS. Below is the YAML code I am using
trigger:
- main
pool:
name: 2019vmss
steps:
- task: DockerInstaller@0
displayName: 'Install Docker 17.09.0-ce'
- task: CmdLine@2
inputs:
script: 'docker --version'
- script:
docker run --rm -v "$(Build.SourcesDirectory)":/neoload-project -e SCENARIO_NAME=UPX_5_User_Load_test -e NEOLOADWEB_TOKEN=Token -e TEST_NAME=CI-smoke -e CONTROLLER_ZONE_ID=zodeid neotys/neoload-web-test-launcher
Pipeline is successful able to validate docker installation, but while executing docker run command is returning below error
docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.32/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
When trying to google, I see few suggestion to run the command in administrative mode. But I believe all the task executed in pipeline are by default run in admin mode. Requesting for help to resolve.