docker-archive / migrator

Tool to migrate Docker images from Docker Hub or v1 registry to a v2 registry
Apache License 2.0
160 stars 82 forks source link

migrate from DTR 1.4.3 to DTR 2.0 #78

Closed natarajanv closed 8 years ago

natarajanv commented 8 years ago

Hello, I used the migrator to migrate from registry V1 to DTR 1.4.3, but now we are planning on upgrading to DTR 2.0, and there is no path to migrate the images. is it possible to support V2 to V2 migration?

Thanks

mbentley commented 8 years ago

For the most part, v2 to v2 migration isn't necessary. For DTR, there is a migrate command (see https://docs.docker.com/docker-trusted-registry/install/upgrade/upgrade-major/). The backend storage needs to be remounted to the installation or copied over as the backend registry is still the distribution project and the format of that hasn't changed.