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

[feature] Use DockerHub remote registry - Cannot Push #197

Closed
MarvinMartin24 opened this issue Dec 27, 2021 · 3 comments
Closed

[feature] Use DockerHub remote registry - Cannot Push #197

MarvinMartin24 opened this issue Dec 27, 2021 · 3 comments

Comments

@MarvinMartin24
Copy link

MarvinMartin24 commented Dec 27, 2021

What type of PR is this?

/kind feature

What happened:
Hi,
I am trying to use Dockerhub instead of a local docker registry/ Harbor.

I tried to connect ormb with my dockerhub registry with:

ormb login registry.hub.docker.com -u USERNAME -p MY_PASSWORD
ormb save ./examples/PMML-model  docker.io/USERNAME/models:ormb_pmml_v1
ormb push docker.io/USERNAME/models:ormb_pmml_v1

I can login and save but push send this error:
failed commit on ref "manifest-sha256:7c5eac5fc9f76180b867c4ee67d03e51a43794365a7517aca4c83ce51faa8eb7": unexpected status: 403 Forbidden
It sounds like it is a permission issue to send the model to Dockerhub.

Questions:

  • Is this already possible to use DockerHub registry.
  • If yes do you have an example?
  • if no, is this a feature that can be added in the future?

Thanks!

@gaocegege
Copy link
Member

Docker hub does not support OCI manifests I think.

@gaocegege
Copy link
Member

It does not depend on this project. OCI artifact is a feature of the image registry. We need to wait until docker hub supports it.

@MarvinMartin24
Copy link
Author

Okay! Thank you @gaocegege

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

2 participants