I’m running a pipeline that builds and tests some docker images. I put a bit of effort into the docker setup so that I uses layers to cache builds incrementally. This works.
The pipeline is K8 runner.
However it doesn’t actually make anything faster because I have to rebuild the docker image cache on each pipeline. Here I have to download and extract a few gigabytes of docker images. This can take a couple of minutes, if these layers were cached locally it’d take a couple of seconds.
How can I create a docker cache that uses a volume on the node itself. So it’d be shared across pipelines without lots of network calls.