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 registry.labs.nic.cz

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

docker build -t registry.labs.nic.cz/labs/bird .
docker push registry.labs.nic.cz/labs/bird


Use different image names

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

registry.labs.nic.cz/labs/bird:tag
registry.labs.nic.cz/labs/bird/optional-image-name:tag
registry.labs.nic.cz/labs/bird/optional-name/optional-image-name:tag

Tag Tag ID Size Created
debian-testing-i386 8c8d5900d 253 MB · 5 layers 12 days
fedora-26-amd64 b22def101 253 MB · 3 layers 4 days
debian-8-amd64 6a02acac0 85.8 MB · 4 layers 10 days
ubuntu-16.04-amd64 3e920d8f6 140 MB · 8 layers 4 days
centos-6-amd64 11e0e5379 114 MB · 3 layers 9 days
debian-9-amd64 e64ee75d0 95.9 MB · 5 layers 10 days
fedora-25-amd64 7a0ba9704 289 MB · 3 layers 4 days
opensuse-42.3-amd64 f6afeeb62 125 MB · 3 layers 2 days
centos-7-amd64 1283248e8 128 MB · 3 layers 4 days
debian-9-i386 f8ff76977 101 MB · 5 layers 12 days
debian-testing-amd64 6a062baf9 254 MB · 5 layers 10 days
debian-7-i386 de3cddf16 63.8 MB · 4 layers 12 days
debian-7-amd64 33ff47ee7 63.4 MB · 4 layers 10 days
debian-8-i386 855ee4316 88.4 MB · 4 layers 12 days
ubuntu-14.04-amd64 0069d11b2 135 MB · 8 layers 9 days