Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use gitlab registry #95

Open
glensc opened this issue Mar 27, 2018 · 0 comments
Open

use gitlab registry #95

glensc opened this issue Mar 27, 2018 · 0 comments

Comments

@glensc
Copy link

glensc commented Mar 27, 2018

GitLab 8.8 has bundled Docker Container Registry:
https://docs.gitlab.com/ce/user/project/container_registry.html

it's registry configuration is like (/var/opt/gitlab/registry/config.yml:

version: 0.1
...
auth:
  token:
    realm: https://gitlab.example.net/jwt/auth
    service: container_registry
    issuer: omnibus-gitlab-issuer
    rootcertbundle: /var/opt/gitlab/registry/gitlab-registry.crt

how to make api calls to such registry server using token auth?

as i understand the token issuer is gitlab (not docker-registry-web), so docker-registry-web needs to obtain token from https://gitlab.example.net/jwt/auth and use token obtained from there against registry server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant