Skip to content

Scripts for syncing container images from public registries to offline local registry

License

Notifications You must be signed in to change notification settings

linkinghack/sync-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync-image

Scripts for syncing container images from public registries to offline local registry

Usage

  1. Create a list.json that contains an JSON array (of string) including source images to sync.

The images MUST containing the host name and port of source registry (like docker.io, quay.io etc.).

  1. Execute the sync script:
# Required flag -r <target_local_regisry>

python3 sync.py -r <local_repo_host_name>:[local_repo_port]/<local_repo_sub_paths>/<without_ending_slash>

# Optional flag
# -l list.json

About

Scripts for syncing container images from public registries to offline local registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages