Skip to content

pantheon-systems/sync-docker-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Sync Docker Repositories

Unsupported

Use this script to sync all tags for a given Docker repository from one registry to another.

Right now this script has only been tested using quay.io as source and hub.docker.com as destination.

Any destination is supposed to work. For a source to work it should use the /v2 version of Docker registry API.

Instructions

  • Install requirements: pip install -r requirements.txt

  • Ensure you have access from your cli to the source and target repositories (login to the corresponding registries if needed).

  • Run the script: ./sync.py quay.io/<docker-repo> <target-docker-repo.

    Example: ./sync.py quay.io/pantheon-public/build-tools-ci pantheonpublic/build-tools-ci

  • Go grab a coffee! It will take some time to complete :)

About

Sync Docker Repository from one registry to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages