Add some clarifying documentation for pull through cache configuration

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
Richard Scothern 2015-08-26 11:02:05 -07:00
parent b78a858b5d
commit 246138598d
2 changed files with 59 additions and 0 deletions

View file

@ -8,6 +8,8 @@ draft = "true"
A v2 Registry can be configured as a pull through cache. In this mode a Registry responds to all normal docker pull requests but stores all content locally.
NOTE: Currently this feature can only be used to proxy against the official Docker Hub.
## Why?
If you have multiple instances of Docker running in your environment (e.g., multiple physical or virtual machines, all running the Docker daemon), each time one of them requires an image that it doesnt have it will go out to the internet and fetch it from the public Docker registry. By running a local registry mirror, you can keep most of the image fetch traffic on your local network.