Hi, we had a big private registry connected with private gitlab, but due to some failure we`ve lost all data except old backup with only blobs and repositories folders and files. Is there any possibility to restore normal v2 manifest or somehow get an images/containers from list of files?
What we have:
docker/registry/v2/repositories/
docker/registry/v2/blobs/
i see only one thing which can help:
- get link from repositories/image_name/_manifests/sha256/verylongsha256hash/link
- get data file from blobs/sha256/ve/verylongsha256hash/data
- get sha256 digest hash from 6 row of mentioned file named “data” and then
4 . get another file “data” from blobs/sha256/ which contains entrypoint,RUN,COPY and so on and in the end of file will be list of layers with sha256 ids, which probably will be the name of folder in blobs dir. And maybe somehow they can be merged in a one image/container.
Sounds like a crazy plan, but anyone can help me with more convenience path to restore?