Gtilab is capable of having a docker container registry per repository, see here
https://gitlab.wikimedia.org/help/user/packages/container_registry/index.md
There are capacity & storage questions to be considered, and perhaps the answer is to enable the docker registry only on-demand, on a per-repo basis, which I ignore if gitlabs allows.
Some example use cases:
- For Toolforge, for example, we already have one docker registry, which can be browsed at https://docker-registry.toolforge.org/. This registry is, however, managed by hand, poorly integrated into code repositories. Replacing it (or parts of it) with gitlab-generated registries would be really nice.
- Also for Toolforge, we're currently experimenting with harbor https://goharbor.io/ to allow per-tool docker registries. Our plan is to keep working with harbor for now, but if gitlab had this feature enabled, then we could certainly add another potential solutions to the kind of problems we're trying to solve.
- I can also think on another use case: to generate gitlab CI-related docker container images from gitlab itself. Storing those images meant to be used only for gitlab in a registry maintained by gitlab seems elegant and a legit use case.
These are just 3 simple examples. Perhaps others may have more ideas, but for now, I wanted to capture them in this ticket.