How can I interact with the Registry API using cloudron user managment?
-
Hello, i would like to interact with the registry API but I can't seem to find a way since I'm always redirected to the login page
-
Hello, i would like to interact with the registry API but I can't seem to find a way since I'm always redirected to the login page
@TomsFreitas have you seen https://docs.cloudron.io/apps/docker-registry/#cloudron-directory ? You use your cloudron credentials to login.
-
Hello @girish, thank you for the answer.
I can login using the credentials and use it via the GUI in the browser. I just can't seem to use the registry API like http://registry/v2/_catalog/ using something like postman because I can't find a way to authenticate with cloudron -
Hello @girish, thank you for the answer.
I can login using the credentials and use it via the GUI in the browser. I just can't seem to use the registry API like http://registry/v2/_catalog/ using something like postman because I can't find a way to authenticate with cloudron -
@TomsFreitas Does
docker login myregistry.domain.comwork with cloudron credentials ?@girish yes, everything else is working as expected. Just can't seem to find any documentation that helps me in this regard.
-
@girish yes, everything else is working as expected. Just can't seem to find any documentation that helps me in this regard.
-
@TomsFreitas Can you set the user agent string in postman to something like
Docker-Client/20.10.12-ce (ubuntu)?@girish Thank you! By setting the user agent to
Docker-Client/20.10.12-ce (ubuntu)and using Basic Auth with my cloudron account, I can now access the registry API! -
@girish Thank you! By setting the user agent to
Docker-Client/20.10.12-ce (ubuntu)and using Basic Auth with my cloudron account, I can now access the registry API! -
@TomsFreitas Ah, good. The proxyauth code has some special logic by detecting the docker client (via user agent). This is the reason it is needed.
@girish Thank you once again
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login