Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registry Fake Pusher

MIT license

Usage

With this tool, if you want to overlay new image layers from one repository tag in Registry on an repository tag in another repository in Registry, you do not need to download all the layers into docker daemon.

Environment variables in source image will be ignored.

Supports

  • registry V2 API;

Steps

  1. Specify SourceRegistry, SourceRepository and SourceTag (need get the top ImageLayer of the image)

  2. Specify TargetRegistry, TargetRepository and TargetTag (the image location wishing to overlay an ImageLayer)

  3. Download source and target manifest according to specified image locationes

  4. Construct the to-overlay-imageLayer

  5. Overlay the to-overlay-imageLayer to target manifest, generating a new manifest

  6. Copy the content of the imageLayer from sourceRegistry to targetRegistry if needed

  7. Push the new manifest.

About

Add layers to a image in Docker Registry while no need downloading the base image

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages