2

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?

muffel
  • 342
  • 7
  • 21

1 Answers1

2

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.

muffel
  • 342
  • 7
  • 21