The container registry is the registry where all Docker images are
stored for a project. To pull or push an image from a project registry,
you need to authenticate your docker application.
Setting access token
To authenticate you need an access_token. You can create a
Personal Access Token for your Gitlab account or use an existing
Project Access Token if one is available.
To create a personal access token:
On your Gitlab account, go to Preferences > Access Tokens.
Fill in a name to remember the token scope and an expiration date.
Select read_registry and/or write_registry. It is recommended to
choose a short expiry date and the minimal scope needed (Gitlab
security
considerations).
Create and copy the token string somewhere. Once you close or
refresh the page, the token will not be available anymore.
Now you can log in using the token as a password with: