可以Travis CI缓存docker图像? [英] Can Travis CI cache docker images?
本文介绍了可以Travis CI缓存docker图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以在travis配置的任何地方添加一个设置来缓存Docker图像?矿井是一个更大的码头图像,需要一段时间才能下载。
Is it possible to add a setting to cache my docker image anywhere in the travis configuration ? Mine is a bigger docker image and it takes a while for it to download.
任何建议?
-Naga
推荐答案
请参阅在Dock#5358上缓存Docker Images
的答案。对于现在在Travis上的Docker 1.12,建议手动缓存图片。对于Docker 1.13,您可以在Travis上使用 - 缓存 -
。
See Caching Docker Images on Build #5358
for the answer(s). For Docker 1.12 available now on Travis, it is recommended to manually cache the images. For the Docker 1.13, you could use its --cache-from
when it is on Travis.
这篇关于可以Travis CI缓存docker图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文