tag:help.appveyor.com,2012-11-13:/discussions/questions/3575-caching-docker-imagesAppVeyor: Discussion 2018-10-19T08:18:17Ztag:help.appveyor.com,2012-11-13:Comment/422920062017-04-04T05:00:15Z2017-04-04T05:00:15ZCaching docker images<div><p>Hi Felix,</p>
<p>You're right, Docker file system on Windows is "black box" and pretty fragile structure. Images should be stored somewhere under <code>C:\ProgramData\docker</code> (according to <a href="https://github.com/docker/docker/issues/27941">this issue</a>). You can try asking <a href="https://twitter.com/stefscherer">@stefscherer</a> - he is an expert in Windows Containers.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/422920062017-04-04T20:23:07Z2017-04-04T20:23:09ZCaching docker images<div><p>Yeah I tried adding C:\ProgramData\Docker\windowsfilter as a cache location but getting permission access errors on some of the files. I assume this is because docker has the images running in the background after the build or something.</p>
<p>It's all good - I wasn't really expecting it to be that easy at this point! Luckily our base images are not too huge so its not a major burden for now.</p>
<p>Thanks for looking into it.</p></div>Felixtag:help.appveyor.com,2012-11-13:Comment/422920062017-09-23T00:07:31Z2017-09-23T00:08:09ZCaching docker images<div><p>Not sure what the consensus was on the issue. Is there anything in the pipe as far as caching these images so that they don't have to be pulled on every build? This is going to add a pretty significant amount of time to the build process (particularly in dev and qa environments) which is not so great for our workflow, so we're already talking about possibly switching off of AppVeyor to something self-hosted so that the images will all be available on demand.</p>
<p>Is this something already in motion?</p></div>jstaffordtag:help.appveyor.com,2012-11-13:Comment/422920062017-09-23T00:52:15Z2017-09-23T00:52:15ZCaching docker images<div><p>If you are thinking about switching to something self-hosted, I would recommend to go ahead and switch to ...self-hosted AppVeyor :)</p>
<p>Options you have are <a href="https://www.appveyor.com/docs/build-environment/#private-build-cloud">Private Build Cloud</a> and AppVeyor Enterprise (officially releasing soon, but already have a few customer deployments).</p>
<p>With Private Build Cloud you have build workers in-house, with AppVeyor Enterprise also UI/Orchestration server and back-end database. If you are interested in one of those options. let us discuss it over email (team at appveyor dot com).</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/422920062017-09-23T02:32:56Z2017-09-23T02:32:56ZCaching docker images<div><p>ah good to know! I will keep that in mind</p></div>jstafford