skopeo icon indicating copy to clipboard operation
skopeo copied to clipboard

Synchronizing to a container registry with a different image name on DESTINATION

Open mmarchini opened this issue 1 year ago • 4 comments

Is it possible to use skopeo sync to sync images from a container registry into a different container registry, while using a different image name in the destination registry? For example:

$ skopeo sync --src docker --dest docker old.somedockerregistry.net.net/oldNamespace.oldImage new.somedockerregistry.net/newNamespace/newImage

The example above would result in the following content for destination registry:

REPO                                                                    TAGS
new.somedockerregistry.net/newNamespace/newImage/oldNamespace.oldImage  latest

Is it possible (via parameters or something) to have the following content for destination registry instead?

REPO                                              TAGS
new.somedockerregistry.net/newNamespace/newImage  latest

mmarchini avatar May 12 '23 23:05 mmarchini