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/knot/knot-dns .
docker push registry.labs.nic.cz/knot/knot-dns


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/knot/knot-dns:tag
registry.labs.nic.cz/knot/knot-dns/optional-image-name:tag
registry.labs.nic.cz/knot/knot-dns/optional-name/optional-image-name:tag

Tag Tag ID Size Created
unstable d4848767b 718 MB · 5 layers 22 days
latest a9e110b37 393 MB · 5 layers about 21 hours
Tag Tag ID Size Created
latest eab62ba66 1.1 GB · 8 layers 22 days
Tag Tag ID Size Created
latest a2fa1a944 212 MB · 4 layers about 21 hours
Tag Tag ID Size Created
latest c8482c6dd 458 MB · 3 layers 22 days