A command-line interface to copy docker images between two repositories.
pip install git+https://github.com/smassonnet/docker-repo-cp.git@mainThe following command will copy all tags from ORG/IMAGE (Docker HUB)
into a private registry hosted at REGISTRY:5000.
docker-repo-cp ORG/IMAGE REGISTRY:5000/ORG/IMAGE --apply
# Or
python -m docker_repo_cp ORG/IMAGE REGISTRY:5000/ORG/IMAGE --applyWhen not specifying the --apply option, the command will not push the new image tags.