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 dock.nexpie.com

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

docker build -t dock.nexpie.com/sample/template-dockerfile .
docker push dock.nexpie.com/sample/template-dockerfile


Use different image names

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

dock.nexpie.com/sample/template-dockerfile:tag
dock.nexpie.com/sample/template-dockerfile/optional-image-name:tag
dock.nexpie.com/sample/template-dockerfile/optional-name/optional-image-name:tag

Tag Tag ID Size Created
1.0.0-80-d2d822b6-dirty f1a70525d 352 MB · 13 layers over 3 years
1.0.0-80-dirty f1a70525d 352 MB · 13 layers over 3 years
latest f1a70525d 352 MB · 13 layers over 3 years