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 run
with 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 Registry
is 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
Latest posts by Rajesh Kumar (see all)
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024