diff options
author | Cindy Pallares 🦉 <cindy@gitlab.com> | 2019-03-19 08:13:59 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-03-19 08:13:59 +0000 |
commit | c82ce1f1a289550e854a432fb0dde813a3e1440a (patch) | |
tree | 9085b16602947dbb684fd54f24fc9bf39e07ad09 /doc/development/architecture.md | |
parent | 68aacd65ae3c53f3c1d2cf081adc89e3758c52de (diff) | |
download | gitlab-ce-c82ce1f1a289550e854a432fb0dde813a3e1440a.tar.gz |
Add registry to dev arch docs
Diffstat (limited to 'doc/development/architecture.md')
-rw-r--r-- | doc/development/architecture.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/development/architecture.md b/doc/development/architecture.md index ae880e3deb6..115c8cfb9ff 100644 --- a/doc/development/architecture.md +++ b/doc/development/architecture.md @@ -158,6 +158,18 @@ TODO TODO +### Registry + +The registry is what users use to store their own Docker images. The bundled +registry uses nginx as a load balancer and GitLab as an authentication manager. +Whenever a client requests to pull or push an image from the registry, it will +return a `401` response along with a header detailing where to get an +authentication token, in this case the GitLab instance. The client will then +request a pull or push auth token from GitLab and retry the original request +to the registry. Learn more about [token authentication](https://docs.docker.com/registry/spec/auth/token/). + +An external registry can also be configured to use GitLab as an auth endpoint. + ## GitLab by Request Type GitLab provides two "interfaces" for end users to access the service: |