We are going to setup local proxy repository. Which directs to further docker hub and our another remote Docker Hosted repository hosted on different location.Which is requested through Docker(group) in Nexus.
I want to create a mirror for our remote repository which we are accessing through docker proxy in Nexus Repository manager in our local repository and caching its contents when somebody requests a image that is hosted in remote repository and next time when somebody fetches it he is served through local caching.
So if anybody pushes updated docker image on our remote repository it should be automatically mirrored in local repository
unlike when somebody requests updated image then local cache is invalidated and request again goes to remote repository for fetching the updated image.
How to do docker repository mirroring between two repository manager based on Nexus version i mentioned in question or any other way?
Any help appreciated.Thank you