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.
- registry V2 API;
-
Specify SourceRegistry, SourceRepository and SourceTag (need get the top ImageLayer of the image)
-
Specify TargetRegistry, TargetRepository and TargetTag (the image location wishing to overlay an ImageLayer)
-
Download source and target manifest according to specified image locationes
-
Construct the to-overlay-imageLayer
-
Overlay the to-overlay-imageLayer to target manifest, generating a new manifest
-
Copy the content of the imageLayer from sourceRegistry to targetRegistry if needed
-
Push the new manifest.