How to setup docker to use cache from registry on every build step
<p>I have two servers with docker and one server with my private registry.</p>

<p>I built Dockerfile on the first machine; then I pushed the image to the registry. </p>

<p>Is it possible to build Dockerfile on the second machine immediately using cache from my registry? If no, is there any way to speed up building "almost" same Dockerfiles without writing my own cache?</p>

<p>It tried to setup <code>--registry-mirror</code> but it didn't help.</p>