Container Registry

With the Docker Container Registry integrated into GitLab, every project can have its own space to store its Docker images.

Learn more about Container Registry.

How to use the Container Registry

First log in to GitLab’s Container Registry using your GitLab username and password. If you have 2FA enabled you need to use a personal access token:

docker login municipalitybank.com:5050

Once you log in, you’re free to create and upload a container image using the common build and push commands:

docker build -t municipalitybank.com:5050/ipgallery.common.cpp/microservice .
docker push municipalitybank.com:5050/ipgallery.common.cpp/microservice


Use different image names

GitLab supports up to 3 levels of image names. The following examples of images are valid for your project:

municipalitybank.com:5050/ipgallery.common.cpp/microservice:tag
municipalitybank.com:5050/ipgallery.common.cpp/microservice/optional-image-name:tag
municipalitybank.com:5050/ipgallery.common.cpp/microservice/optional-name/optional-image-name:tag

Tag Tag ID Size Created
1.5.1 22db680af 410 MB · 25 layers over 6 years
1.5.0 bf54ac465 410 MB · 25 layers over 6 years
1.5.2 9c2d74afd 410 MB · 25 layers over 6 years
1.6.0 167fbce84 1.68 GB · 24 layers over 4 years
1.7.0 74fcd4afb 1.6 GB · 26 layers about 4 years
1.5.3 23349f79e 410 MB · 25 layers over 6 years
Tag Tag ID Size Created
latest 6c9cfc6e4 1.43 GB · 19 layers over 4 years