Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Question about "local Nauta Docker registry" #45

Open
nparkstar opened this issue Mar 18, 2020 · 2 comments
Open

Question about "local Nauta Docker registry" #45

nparkstar opened this issue Mar 18, 2020 · 2 comments

Comments

@nparkstar
Copy link

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.

@mateusz-ciesielski
Copy link
Contributor

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.

@nparkstar
Copy link
Author

It works!
Thank you very much.

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

No branches or pull requests

2 participants