0

I am using the Docker Registry with the filesystem storage driver. What I want to do is to migrate that existing Registry to S3-compatible storage without loosing data.

While I could pull all images on a dedicated client, reconfigure the registry and push again, I would like to find a more direct approach because of the size and amount of already stored Images.

Is there any way to migrate the data from filesystem to S3 without having to re-push the Images?

1
  • How to you expect the data to be available from S3 without pushing it there? – gf_ Sep 9 '19 at 23:07
1

After some digging it turned out that a storage driver is just a filesystem abstraction, so all that needed to be done to migrate a Docker Registry from filesystem to S3 is to copy the content of the registry's directory unaltered to S3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.