Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

GitLab Tutorials: GitLab Container Registry

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.

  1. Go to your project or group.
  2. 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:

  1. Copy the link to your container image:
    • Go to your project or group’s Packages and registries > Container Registry and find the image you want.
    • Next to the image name, select Copy.
  2. 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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x