[GH-ISSUE #4204] Support pull from habor registry in proxy mode an push to harbor #28377

Open
opened 2026-04-22 06:31:41 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @ptempier on GitHub (May 6, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4204

Not sure why its not working, maybe i do something bad.
From other ticket i understand it supposed to work with OCI registry.

What i tried :

ollama pull habor-server//ollama.com/library/llama3:text
Error: pull model manifest: 400

ollama pull habor-server/ollama.com/llama3:text
Error: pull model manifest: 400

ollama cp llama2:7b habor-server/aistuff/llama2:7b
ollama push habor-server/aistuff/llama2:7b
retrieving manifest
Error: Get "harbor?nonce=zzzz&scope=&service=&ts=xxxx": unsupported protocol scheme ""

Originally created by @ptempier on GitHub (May 6, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4204 Not sure why its not working, maybe i do something bad. From other ticket i understand it supposed to work with OCI registry. What i tried : ollama pull habor-server//ollama.com/library/llama3:text Error: pull model manifest: 400 ollama pull habor-server/ollama.com/llama3:text Error: pull model manifest: 400 ollama cp llama2:7b habor-server/aistuff/llama2:7b ollama push habor-server/aistuff/llama2:7b retrieving manifest Error: Get "harbor?nonce=zzzz&scope=&service=&ts=xxxx": unsupported protocol scheme ""
GiteaMirror added the feature request label 2026-04-22 06:31:41 -05:00
Author
Owner

@OnceNever commented on GitHub (May 29, 2024):

same

<!-- gh-comment-id:2137021172 --> @OnceNever commented on GitHub (May 29, 2024): same
Author
Owner

@nouseforaname commented on GitHub (Aug 19, 2024):

the error looks quite generic. Have you tried actually providing a scheme in your pull command?

ollama pull https://habor-server/ollama.com/llama3:text

<!-- gh-comment-id:2295864952 --> @nouseforaname commented on GitHub (Aug 19, 2024): the error looks quite generic. Have you tried actually providing a scheme in your pull command? `ollama pull https://habor-server/ollama.com/llama3:text`
Author
Owner

@lazydog2 commented on GitHub (Oct 22, 2024):

These may be useful references:

Locally-hosted library · Issue #914 · ollama/ollama
https://github.com/ollama/ollama/issues/914#issuecomment-2202709638

Release v2.11.0-ollama · stonezdj/harbor
https://github.com/stonezdj/harbor/releases/tag/v2.11.0-ollama

ollama/types/model/name.go at main · ollama/ollama · GitHub
https://github.com/ollama/ollama/blob/main/types/model/name.go#L96

<!-- gh-comment-id:2428153466 --> @lazydog2 commented on GitHub (Oct 22, 2024): These may be useful references: Locally-hosted library · Issue #914 · ollama/ollama https://github.com/ollama/ollama/issues/914#issuecomment-2202709638 Release v2.11.0-ollama · stonezdj/harbor https://github.com/stonezdj/harbor/releases/tag/v2.11.0-ollama ollama/types/model/name.go at main · ollama/ollama · GitHub https://github.com/ollama/ollama/blob/main/types/model/name.go#L96
Author
Owner

@ptempier commented on GitHub (Oct 22, 2024):

Thanks, at least its nice to see i wasn't the only one asking for such feature.

<!-- gh-comment-id:2430179615 --> @ptempier commented on GitHub (Oct 22, 2024): Thanks, at least its nice to see i wasn't the only one asking for such feature.
Author
Owner

@kong62 commented on GitHub (Dec 19, 2024):

# ollama push harbor.xxx.io/k8s/llama3:8b
retrieving manifest 
Error: Get "harbor?nonce=bug78Oxi4d7u-saf9VAuHw&scope=&service=&ts=1734589288": unsupported protocol scheme ""
<!-- gh-comment-id:2552890545 --> @kong62 commented on GitHub (Dec 19, 2024): ``` # ollama push harbor.xxx.io/k8s/llama3:8b retrieving manifest Error: Get "harbor?nonce=bug78Oxi4d7u-saf9VAuHw&scope=&service=&ts=1734589288": unsupported protocol scheme "" ```
Author
Owner

@Atomique commented on GitHub (Jul 18, 2025):

Having the same problem, are there any news on this?

<!-- gh-comment-id:3088330716 --> @Atomique commented on GitHub (Jul 18, 2025): Having the same problem, are there any news on this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28377