{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/1242","labels_url":"https://api.github.com/repos/docker/distribution/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/1242/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/1242/events","html_url":"https://github.com/docker/distribution/issues/1242","id":120693154,"number":1242,"title":"[QUESTION] How to mirror images from  a private registry","user":{"login":"zhanghuanzhong","id":12858115,"avatar_url":"https://avatars.githubusercontent.com/u/12858115?v=3","gravatar_id":"","url":"https://api.github.com/users/zhanghuanzhong","html_url":"https://github.com/zhanghuanzhong","followers_url":"https://api.github.com/users/zhanghuanzhong/followers","following_url":"https://api.github.com/users/zhanghuanzhong/following{/other_user}","gists_url":"https://api.github.com/users/zhanghuanzhong/gists{/gist_id}","starred_url":"https://api.github.com/users/zhanghuanzhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhanghuanzhong/subscriptions","organizations_url":"https://api.github.com/users/zhanghuanzhong/orgs","repos_url":"https://api.github.com/users/zhanghuanzhong/repos","events_url":"https://api.github.com/users/zhanghuanzhong/events{/privacy}","received_events_url":"https://api.github.com/users/zhanghuanzhong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T03:53:21Z","updated_at":"2015-12-07T18:07:32Z","closed_at":null,"body":"I have a datacenter in city A and another datacenter in city B.Each datacenter with a private docker registry. Now, I expect that the private docker registry B to mirror form the private docker registry A. Could the docker registry mirror do that? "},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/162610531","html_url":"https://github.com/docker/distribution/issues/1242#issuecomment-162610531","issue_url":"https://api.github.com/repos/docker/distribution/issues/1242","id":162610531,"user":{"login":"RichardScothern","id":922018,"avatar_url":"https://avatars.githubusercontent.com/u/922018?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardScothern","html_url":"https://github.com/RichardScothern","followers_url":"https://api.github.com/users/RichardScothern/followers","following_url":"https://api.github.com/users/RichardScothern/following{/other_user}","gists_url":"https://api.github.com/users/RichardScothern/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardScothern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardScothern/subscriptions","organizations_url":"https://api.github.com/users/RichardScothern/orgs","repos_url":"https://api.github.com/users/RichardScothern/repos","events_url":"https://api.github.com/users/RichardScothern/events{/privacy}","received_events_url":"https://api.github.com/users/RichardScothern/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T18:07:32Z","updated_at":"2015-12-07T18:07:32Z","body":"MIRROR_SOURCE and MIRROR_SOURCE_INDEX are v1 registry configurations.  This repository is for the v2 registry.\r\n\r\nTo answer you original question; currently the caching mode only works against the hub.  "}}