Questions tagged [harbor]

Harbor is an open source registry project for scanning, signing, and securely storing artifacts to be used with other cloud native applications like Kubernetes and Docker. Use this tag for questions about managing and using Harbor or interacting with its REST APIs.

For more information:

129 questions
8
votes
3 answers

How to push a helm chart to Harbor using Helm CLI V3.7.2 and Harbor 2.4.0-d4affc2

Struggling finding documentation around this that works with specific versions of Harbor and Helm. Ive tried adding my repo... Helm repo add harbor https://myharbor.mydomain.com/chartrepo/myproject --username myusername --password mypassword No…
pforsthoff
  • 474
  • 1
  • 3
  • 15
7
votes
3 answers

Gitlab pipeline failed : ERROR: Preparation failed: Error response from daemon: toomanyrequests

I have Harbor local docker registry and all needed images are there and connected GitLab to the Harbor and all the images are received from the Harbor but after November 2, Docker put a limit on the number of pulls and it seems dind service pulls…
jaberansariali
  • 150
  • 1
  • 8
5
votes
1 answer

Docker hub cache with Harbor

I need to cache docker images while pulling from the docker hub in my Harbor "Proxy Cache " project. Therefore I have configured a project with an option Proxy Cache. The registries section also added a new registry endpoint with a provider as…
Damith Udayanga
  • 726
  • 7
  • 18
4
votes
0 answers

How to use Docker Content Trust to sign multi-arch images built with docker buildx?

I am trying to build, sign, and push a multi-arch container image using a Harbor registry with Notary. Following the steps in https://www.cncf.io/blog/2021/07/28/enforcing-image-trust-on-docker-containers-using-notary/ I was able to get the simple…
Spencer Small
  • 91
  • 1
  • 1
  • 5
4
votes
5 answers

Docker image pull error invalid character

I am trying to pull a docker image from the DTR and I am getting below error #docker pull repo/appname Trying to pull repository repo/appname ... Pulling repository repo/appname **invalid character '<' looking for beginning of value** I am not…
Stunner
  • 961
  • 2
  • 19
  • 39
3
votes
2 answers

Kubernetes containerd - failed to pull image from private registry

I setup kubernetes V1.20.1 with containerd instead of Docker. Now I failed to pull Docker images from my private registry (Harbor). I already changed the /etc/containerd/config.toml like this: [plugins."io.containerd.grpc.v1.cri".registry] …
Ralph
  • 4,500
  • 9
  • 48
  • 87
3
votes
4 answers

action: push: unauthorized to access repository docker harbor registry

I’m trying to push to harbor registry 2.2. It works with ssl and the storage is on locally mounted NFS share. The error I get is: unauthorized to access repository: test/flask, action: push: unauthorized to access repository: test/flask, action…
itaiman5
  • 41
  • 1
  • 1
  • 2
2
votes
0 answers

harbor behind nginx reverse proxy some uri 404 not found

harbor version 2.6.2 description harbor was deployed in vmware machin http://192.168.195.160:8092/,it's OK, I can get accessed with no issue. but when I deploy nginx in order to use http://192.168.195.160:9002/harbor as reverse proxy, there has…
Jimmy He
  • 21
  • 1
2
votes
0 answers

Is it possible to use Harbor Replication Rules to mirror Docker Images by digest?

I am looking to mirror Docker images to a Harbor instance based on tags and digests. My standard approach thus far has involved creating Harbor Replication Rules. This works well for replicating Docker images with specific tags, however I cannot…
Thomas Anderson
  • 424
  • 4
  • 5
2
votes
1 answer

Is there a way to exclude untagged artifacts from Harbor's immutability rules?

I'm using a setting like this: However, this also makes the untagged artifact immutable. I want to delete untagged artifacts according to the retention policy, but I can't delete them because they become immutable. Is there a good way?
hsbrysk
  • 31
  • 1
2
votes
0 answers

helm harbor is not a valid chart repository or cannot be reached: object required

I've successfully pushed some locally built helm chart to harbor private helm registry using below commands: helm registry login private.harbor.com helm push chart-version.tgz oci://private.harbor.com/some-project Now I fail to add helm repo (for…
rok
  • 9,403
  • 17
  • 70
  • 126
2
votes
2 answers

Habor installer thinks docker-compose is not installed

I m trying to install Harbor 2.4.1 on a CentOS 7 host. I have already installed docker and docker-compose. But wenn I try to run ./install.sh to instal harbor I get the message [grafra1969@docker-registry harbor]$ sudo ./install.sh --with-notary…
grafra
  • 411
  • 6
  • 16
2
votes
2 answers

Harbor robot account: Error response from daemon: unauthorized: authentication required

I'm always getting: Error response from daemon: Get "https://myregistry.example.com/v2/": unauthorized: authentication required When trying to login with: docker login --username robot$myproject+myrobotaccount myregistry.example.com
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
2
votes
0 answers

Install Minikube using private registry

For security purposes, I need to install Minikube using private Harbor repository (it works as proxy) - harbor.mycompany.com. minikube start has several options to use repos: --registry-mirror --mirror-repository --insecure-registry Installing…
Mikhail_Sam
  • 10,602
  • 11
  • 66
  • 102
2
votes
0 answers

Unable to login to harbor using Docker cli, failed with status: 401 Unauthorized

We have setup harbor(v2.2.1) on AWS ECS. We are able to login into Harbor portal with default admin/Harbor12345 credentials. However when we try to login to harbor from docker using below command, we are getting "Error response from daemon: login…
1
2 3
8 9