Transfer repositories to a new owner

Hi,

Some time back I created an account for work purposes… then later needed to manage some container image repositories of my own, so I did this on the account I had.

My workplace is looking to move to MFA (a wise move) but I’d rather not have personal container images tied to a workplace-managed account, so I’ve created a separate personal account to receive my repositories.

Where do I go to transfer the ownership of an image repository to a new place? All I can find are options for archiving or deleting, neither of which I want to do.

I don’t think any registries support that feature, but I could be wrong. You probably need to pull the images from one repository and push to the other repository. Sometimes I need to move images from one registry to another. Mirroring would be an option too in that case, but I just used a script to pull and push a specific version. If you want to pull and push all the versions, you could try

docker pull --all-tags REPOSITORY

if you have enough space, then retag and

docker push --all-tags REPOSITORY

to push it.
If you choose this option, let me know if you need more help with the script. The hardest part is the retagging, but docker image list can help with that too if you filter to the images from a specific repository.

Or, if you have a subscription already you can try to contact Docker Support and ask if they could help you to move the images more quickly

Then when you have all the images in the new repository and you confirmed everything is pushed correctly and available, you can delete the images in the other namespace.

Ahh well, I’ll have to request that they add the feature then.