With the Docker Container Registry integrated into GitLab, every GitLab project can have its own space to store its Docker images.
View the Container Registry
You can view the Container Registry for a project or group.
- Go to your project or group.
- Go to Packages and registries > Container Registry.
Use images from the Container Registry
To download and run a container image hosted in the GitLab Container Registry:
- Copy the link to your container image:
- Use
docker runwith the image link:docker run [options] registry.example.com/group/project/image [arguments]
Check if the GitLab Container Registry is enabled
As administrator:
- Check if the Container Registry is enabled by confirmin the availability ot two areas in the GitLab: ‘Admin area’ > Settings > CI/CD OR’Admin Area’ -> Settings > Repository
As a user:
- The project web page in GitLab instance will show a warning in the top of the project page if the
Container Registryis not enabled:
“Container registry is not enabled on this GitLab instance. Ask an administrator to enable it in order for Auto DevOps to work.” - If the project is public, so is the Container Registry. It should be under Packages & Registries > Container Registry. If its not in your sidebar then it is not enabled. ORProject Settings > Container Registry if it is not shown the it is not enabled in your GitLab instance.
Reference
https://docs.gitlab.com/ee/user/packages/container_registry/
https://docs.gitlab.com/ee/administration/packages/container_registry.html
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals