With the Docker Container Registry integrated into GitLab, every project can have its own space to store its Docker images.
docker login registry.carrotlabs.net:5000
You can also use a deploy token for read-only access to the registry images.
Once you log in, you’re free to create and upload a container image using the common
docker build -t registry.carrotlabs.net:5000/jarrod/machinepack-jwt-ng . docker push registry.carrotlabs.net:5000/jarrod/machinepack-jwt-ng
Use different image names
GitLab supports up to 3 levels of image names. The following examples of images are valid for your project:
registry.carrotlabs.net:5000/jarrod/machinepack-jwt-ng:tag registry.carrotlabs.net:5000/jarrod/machinepack-jwt-ng/optional-image-name:tag registry.carrotlabs.net:5000/jarrod/machinepack-jwt-ng/optional-name/optional-image-name:tag