skopeo
skopeo copied to clipboard
Synchronizing to a container registry with a different image name on DESTINATION
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