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
-
@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 -
@TomsFreitas Does
docker login myregistry.domain.com
work with cloudron credentials ? -
@TomsFreitas Can you set the user agent string in postman to something like
Docker-Client/20.10.12-ce (ubuntu)
? -
@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.