有没有办法用az acr build指定隔离模式? [英] Is there a way to specify an isolation mode with az acr build?

查看:47
本文介绍了有没有办法用az acr build指定隔离模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将-isolation hyperv 传递给az acr构建,但是在

I want to pass in --isolation hyperv to the az acr build, but I can't find an equivalent in the docs. Is there a way to do this?

推荐答案

您不能将隔离参数传递给 az acr build .

You cannot pass in the isolation parameter to az acr build.

如果创建Azure DevOps构建代理,则可以使用所需的任何参数创建docker映像,然后将其推送到容器注册表.确保选择如果您希望使用Hyper-V隔离,则为v3 VM类型..

If you create a Azure DevOps build agent, you could create your docker image using whatever parameters you want, then push it to the container registry. Make sure to select a v3 VM type if you wish to use Hyper-V isolation.

这篇关于有没有办法用az acr build指定隔离模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆