[Ci-users] local caching for docker images

Brian Stinson brian at bstinson.com
Fri Jan 13 21:35:51 UTC 2017


On Jan 13 21:25, Karanbir Singh wrote:
> hi,
> 
> the docker-distribution package can act as a smart proxy for docker
> registries; and having a local cache inside the ci infra would help
> speed up a lot of the jobs I am working with at the moment there.
> 
> Do we have the space to host a cache of this nature ? I'd think a 15 to
> 20 GB of space is all we need.

We should have plenty of disk to host this next to the rest of the
various things we cache (mirror.c.o etc.) 

> 
> Could we then have dns inside the ci infra use this cache for the
> dockerhub urls ?
> 
> Any objections to getting this in ?

We can see about putting something together for testing, but I'd like to
plan for this as 'maintenance' if we decide to make the actual switch.
Would be interesting to see what sort of speedup there is for your
workloads. 

> 
> regards
> 
> -- 
> Karanbir Singh
> +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
> GnuPG Key : http://www.karan.org/publickey.asc

--Brian 



More information about the Ci-users mailing list