Gitlab server domain migration, how to migrate docker images

I have a Gitlab CE server with more than 1500 projects and I need to migrate it to a new domain.
I already prepared mostly everything for the migration (scripts to update al Jenkins projects git source, script for the developers to update all remote urls, etc) but I don’t know how to deal with Docker registry, images are tagged with the current hostname, so I need a way to list all the existing images and retag with the new domain.
Does anyone have any idea of how to do it?


I had the same issue. Once migrated to new domain, images were not visible. Just run command “gitlab-ctl reconfigure”. This do the magic and all images appear again.