Cache docker image?



I’m migrating an Android build and the first thing I noticed is that the image is being pulled every single build, taking almost 5 minutes to spin up the environment.

Build-agent version 0.0.3277-efba9fc (2017-05-22T12:48:31+0000)
Starting container bitriseio/docker-android
  image cache not found on this host, downloading bitriseio/docker-android
latest: Pulling from bitriseio/docker-android

I know the message is clear, image cache not found on this host, but I was wondering if there’s any way I can stop this from happening and save a few more minutes.


Your image is always cached on a given host, but it’s up to chance which host runs your build. The more builds you run, the more hosts have the image cached.

There is no workaround at this time.


Thanks for the clarifying @rohara !

Ended up with an alpine linux image, which after some scripting to install missing dependencies, takes 25 seconds to spin up the environment :slight_smile:


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.