summaryrefslogtreecommitdiff
path: root/doc/user/project/container_registry.md
diff options
context:
space:
mode:
authorTim Hobbs <timothy.hobbs@ic-consult.com>2017-08-18 10:09:29 +0000
committerTim Hobbs <timothy.hobbs@ic-consult.com>2017-08-18 10:09:29 +0000
commita62e9e7a14355a66367bab022ff638328d5048c8 (patch)
tree9def9456b608b770450d75fbbfee37d14ed4ccb6 /doc/user/project/container_registry.md
parent63812b2fb2dc53f94ab452761553e8cc5f046f2c (diff)
downloadgitlab-ce-a62e9e7a14355a66367bab022ff638328d5048c8.tar.gz
Add example of docker login with personal access token
Diffstat (limited to 'doc/user/project/container_registry.md')
-rw-r--r--doc/user/project/container_registry.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/user/project/container_registry.md b/doc/user/project/container_registry.md
index 629d69d8aea..5c615daf464 100644
--- a/doc/user/project/container_registry.md
+++ b/doc/user/project/container_registry.md
@@ -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