Sync container images between two registries.
# Creating virtual environment
python -m venv venv
# Activating virtual environment
source venv/bin/activate
# Leaving virtual environment
deactivate
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
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