无法在 Azure Pipeline 中执行 Docker 运行命令

问题描述 投票:0回答:0

我正在尝试通过 Azure DevOps Pipeline 启动 Neoload 测试,下面是添加的任务

  1. Docker CLI 安装程序

  2. 以下代码的命令行任务

    docker run --rm -v "https://[email protected]/project/Team%20-%20NFT/_git/Team%20-%20NFT":Neoload_POC.nlp -e SCENARIO_NAME=scenario1 -e NEOLOADWEB_TOKEN=asdcvdsac12 -e TEST_NAME=Neoload_POC -e CONTROLLER_ZONE_ID=lg01.sample.com:7100 -e LG_ZONE_IDS=lg01.sample.com:7100 neotys/neoload-web-test-launcher:latest

Docker CLI 已成功安装Docker version 17.09.0-ce.

命令出现以下错误:

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.

关于如何解决 Azure Pipeline 中的问题的任何建议

docker azure-devops docker-cli
© www.soinside.com 2019 - 2024. All rights reserved.