azure-devops - Azure DevOps 在容器代理中执行容器作业
问题描述
我启动 Azure DevOps 容器代理docker run -e VSTS_ACCOUNT='kagarlickij' -e VSTS_POOL='Self-Hosted' -e VSTS_TOKEN='a***q' -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker mcr.microsoft.com/azure-pipelines/vsts-agent:ubuntu-16.04-docker-18.06.1-ce
我的管道有以下几行:
pool:
name: Self-Hosted
container: kagarlickij/packer-ansible-azure-docker-runtime:2.0.0
..并得到:[error]Container feature is not supported when agent is already running inside container. Please reference documentation (https://go.microsoft.com/fwlink/?linkid=875268)
Azure DevOps 是否可以在容器代理中执行容器作业?
解决方案
推荐阅读
- ruby-on-rails - 安装 nokogiri (1.6.6.2) 时出错,Bundler 无法继续
- laravel - Laravel + vueJs + axios,不记名令牌不起作用
- python - 如何在 __init__ 中设置只读的@property
- javascript - Ng-click 和 ng-repeat - angularJs 不起作用
- r - 缺少某些节点时,使用 R 将 XML 转换为 CSV
- machine-learning - 如何在 GridSearchCV 中使用最佳参数作为分类器的参数?
- node.js - Control-C 未在 Node.js 中捕获
- swift - SceneKit - 在 SCNNode 上应用 CIFilter 隐藏 SCNTorus
- laravel - Laravel 规则:exist() 没有给出预期的行为
- python - 查找异常前最后一次尝试的指令