Commit ce507b6f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'patch-24' into 'master'

Add example of docker login with personal access token

See merge request !13668
parents aeb2424f a62e9e7a
......@@ -120,6 +120,11 @@ If a project is private, credentials will need to be provided for authorization.
The preferred way to do this, is by using [personal access tokens][pat].
The minimal scope needed is `read_registry`.
Example of using a personal access token:
```
docker login registry.example.com -u <your_username> -p <your_personal_access_token>
```
## Troubleshooting the GitLab Container Registry
### Basic Troubleshooting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment