Skip to content

marcio-pessoa/registry_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registry Sync

Sync container images between two registries.

Python virtual environment

# Creating virtual environment
python -m venv venv
# Activating virtual environment
source venv/bin/activate
# Leaving virtual environment
deactivate

Dependencies

To run, please execute the following from the root directory:

# Install SO dependency
sudo apt install -y skopeo
# Install Python dependencies
venv/bin/pip install -r requirements.txt

Usage

Direct usage:

registry_sync source_registry destination_registry:5000 -v INFO

Docker usage:

docker run ghcr.io/marcio-pessoa/registry_sync source_registry destination_registry