summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-06-06 02:59:26 +0000
committerStan Hu <stanhu@gmail.com>2018-06-06 02:59:26 +0000
commit414af1213e4be015706cc0702e571bd48c68cd3a (patch)
treedb9352cb1dbf604693d2622b09b399d021705ccd
parent610a8f2497a040087396a224697b8b3aad66664c (diff)
parent9f9e107aea4f3f9f55eb66137e229a4dcf0bc01a (diff)
downloadgitlab-ce-414af1213e4be015706cc0702e571bd48c68cd3a.tar.gz
Merge branch 'jr-registry-server-debug-docs' into 'master'
Add registry debug server docs See merge request gitlab-org/gitlab-ce!19457
-rw-r--r--doc/user/project/container_registry.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/user/project/container_registry.md b/doc/user/project/container_registry.md
index 9c5e3509046..03302b3815d 100644
--- a/doc/user/project/container_registry.md
+++ b/doc/user/project/container_registry.md
@@ -143,6 +143,24 @@ docker login registry.example.com -u <your_username> -p <your_access_token>
for errors (e.g. `/var/log/gitlab/gitlab-rails/production.log`). You may be able to find clues
there.
+#### Enable the registry debug server
+
+The optional debug server can be enabled by setting the registry debug address
+in your `gitlab.rb` configuration.
+
+```ruby
+registry['debug_addr'] = "localhost:5001"
+```
+
+After adding the setting, [reconfigure] GitLab to apply the change.
+
+Use curl to request debug output from the debug server:
+
+```bash
+curl localhost:5001/debug/health
+curl localhost:5001/debug/vars
+```
+
### Advanced Troubleshooting
>**NOTE:** The following section is only recommended for experts.
@@ -275,3 +293,4 @@ Once the right permissions were set, the error will go away.
[docker-docs]: https://docs.docker.com/engine/userguide/intro/
[pat]: ../profile/personal_access_tokens.md
[pdt]: ../project/deploy_tokens/index.md
+[reconfigure]: ../../administration/restart_gitlab.md#omnibus-gitlab-reconfigure \ No newline at end of file