Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 711 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 711 Bytes

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