Commit a62e9e7a authored by Tim Hobbs's avatar Tim Hobbs

Add example of docker login with personal access token

parent 63812b2f
...@@ -120,6 +120,11 @@ If a project is private, credentials will need to be provided for authorization. ...@@ -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 preferred way to do this, is by using [personal access tokens][pat].
The minimal scope needed is `read_registry`. 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 ## Troubleshooting the GitLab Container Registry
### Basic Troubleshooting ### 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