Add example of docker login with personal access token

This commit is contained in:
Tim Hobbs 2017-08-18 10:09:29 +00:00
parent 63812b2fb2
commit a62e9e7a14
1 changed files with 5 additions and 0 deletions

View File

@ -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