托管Linux预览代理上的已缓存Docker映像

托管Linux预览代理上的已缓存Docker映像

本文介绍了托管Linux预览代理上的已缓存Docker映像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用VSTS Hosted Linux Preview代理在VSTS上构建docker映像. microsoft/aspnetcore-build映像用于构建asp.net核心应用程序.每次触发生成时,代理都会从注册表中提取microsoft/aspnetcore-build映像,这需要一些时间.我们希望通过指定预先缓存在代理上的特定图像来避免这种情况.

是否存在已在Hosted Linux Preview代理上缓存的容器映像的列表?此类信息可用于托管VS2017 代理,但不适用于Linux代理.

解决方案

尚无官方文章提及,我在此处提交用户声音:托管的Linux代理上的Docker图像缓存,您可以对其进行投票和关注./p>

We are building docker image on VSTS by using VSTS Hosted Linux Preview agent. microsoft/aspnetcore-build image is used to build asp.net core application. Each time build is triggered, an agent is pulling microsoft/aspnetcore-build image from registry and it takes some time. We would like to avoid this, by specifying specific image pre-cached on agents.

Is there a list of container images that have been cached on Hosted Linux Preview agent? Such information is available for Hosted VS2017 agent, but not for Linux one.

解决方案

No official article mentions it, I submit a user voice here: Docker image cache on Hosted linux agent that you can vote and follow.

这篇关于托管Linux预览代理上的已缓存Docker映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 17:59