How do I download the official image to my private clothing

  docker, question

For example, is there a better way to directly download (synchronize) the mirror image in the docker hub to the docker-registry that you have built yourself? At present, my method is to pull to the local host first, then change the name and push to the private service, which is a little troublesome ~

Can write scripts, other ways, not for the time being.