nauta icon indicating copy to clipboard operation
nauta copied to clipboard

Question about "local Nauta Docker registry"

Open nparkstar opened this issue 5 years ago • 2 comments

Question!

I know there is local Nauta Docker registry. How can I access the registry? Would you tell me the way as "Gitea Console Access"(https://github.com/IntelAI/nauta/blob/develop/docs/user-guide/advanced/gitea_console.md) ?

Thanks a lot.

nparkstar avatar Mar 18 '20 02:03 nparkstar

Hi, if you want to inspect Nauta's image registry (the registry where experiments' images are stored) you can use a kubectl port-forward in following way:

kubectl port-forward -n nauta services/nauta-registry-nginx 5000:5000

Then you will be able to access API of the registry on local port 5000. For example, if you want to get list of repositories in the registry using curl, run:

curl localhost:5000/v2/_catalog

(Registry API is documented here: https://docs.docker.com/registry/spec/api/#overview).

There is no builtin GUI console for Docker registry like for Gitea, so the only way to interact with it is by calling the API directly.

mateusz-ciesielski avatar Mar 18 '20 10:03 mateusz-ciesielski

It works! Thank you very much.

nparkstar avatar Mar 18 '20 11:03 nparkstar