Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-07 17:09:26 +0300
committerRémy Coutable <remy@rymai.me>2017-09-07 17:09:26 +0300
commitce507b6fb228777a6ddd410a7dfac4c91af85d95 (patch)
tree6fe6102707f5c22d9279716dbf5d3590e253452a /doc
parentaeb2424f94b4cad81f15a138e2e6ede860bfde0e (diff)
parenta62e9e7a14355a66367bab022ff638328d5048c8 (diff)
Merge branch 'patch-24' into 'master'
Add example of docker login with personal access token See merge request !13668
Diffstat (limited to 'doc')
-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