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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How to redirect traffic from reverse proxy to ingress

I'm on a University project and we have a k3s cluster. We are trying to install harbor as our internal registry with helm. We are forced to use a nginx reverse-proxy running on port 80 and 443. I have ...
Carlos Mattos's user avatar
1 vote
0 answers
17 views

golang docker client build failed : 401 Unauthorized

cli, err := client.NewClientWithOpts(client.WithVersion("1.40")) if err != nil { return "", err } defer cli.Close() authConfig := types.AuthConfig{ ...
ynzion's user avatar
  • 11
0 votes
0 answers
16 views

What user should I use for harbor container registry login?

I want to get a temporary scoped token for a repository for the harbor. Previously we were using ACR. With ACR, we were using 00000000-0000-0000-0000-000000000000 as username with JWT as password. I ...
PSKP's user avatar
  • 1,198
0 votes
1 answer
30 views

Problems after Harbor rollback

Harbor rollback. Updated Harbor, but after a while the work had to be rolled back. The database and settings of Harbor itself were rolled back, but the artifacts on the disk have changed in the ...
Biwis's user avatar
  • 1
0 votes
0 answers
91 views

Failed to push images to harbor with 500 Error

i'm trying to push images to my harbor registry. I'm sure my account can pull and push. when i use docker push command in terminal it shows received unexpected HTTP status: 500 Internal Server Error. ...
rajnuz's user avatar
  • 11
0 votes
0 answers
67 views

private OCI registry for renovate

We have an internal rule that we need to store all the charts and images on our own private registry and use them from there. I have some issue making renovate to check the dependencies from our ...
Oliver Domokos's user avatar
0 votes
0 answers
72 views

action: push: unauthorized to harbor registry with OIDC

I have a new instance of Harbor with OIDC enabled. I can log into the web portal just fine. However when I am trying to do a docker login it fails as follows Error response from daemon: Get "...
JakeUT's user avatar
  • 361
0 votes
0 answers
30 views

Running Harbor with Istio and Cert Manager

I have been trying to pull images from Harbor for a few days now but no luck yet. I'm using harbor bitnami chart, Version v2.8.2, istio 1.16.1, cert manager v1.12.0 and argocd 2.7.6. Pushing images to ...
i23132178's user avatar
0 votes
1 answer
101 views

Pulling images from insecure local private registry (Harbor) with all k8s worker node without ssh access them

I faced such a task, there is a kubernetes cluster in a private network without Internet access, it is necessary for k8s deployments to pull an image from a private docker repository that does not ...
Ed Black's user avatar
0 votes
0 answers
33 views

Fixed in Version not shown in harbor for trivy scan results of CVE

I am using trivy to scan docker images in #harbor . For some CVE it shows Current Version and Fixed in Version and some it doesn't shows. So I would like to know what may be the reason? Does that ...
Ashish Karpe's user avatar
  • 5,107
0 votes
1 answer
104 views

How to Optimize Docker Image Size and Reduce Push Time to Harbor?

I am currently using Harbor as a Docker image configuration management tool in my company. Before running the Next.js Docker image on the Linux server, I push the Docker image to Harbor and then ...
Asher Kim's user avatar
0 votes
0 answers
15 views

How to solve the step 5 in harbor installing

when I run the "install.sh" , the step 5 will run a long time that like the picture showing. enter image description here I download the offline source and how to solve the question ? Thanks....
renjun's user avatar
  • 1
0 votes
1 answer
37 views

What kind of information is stored on the PVC's for Harbor?

There is no information within Harbor's documentation about the kind of data that is stored within the persistent volume claim's for Harbor. Is anyone aware of what's being stored on there? Looked all ...
Arc3us_Zekr0m's user avatar
0 votes
1 answer
83 views

How to increase Kubeflow Jupyter notebook image name to see the complete path

I have a deployment of Kubeflow. During creation of Jupyter Notebook, we have image name tags that are longer than that can be displayed in the Docker image name list. See the image list in the ...
Ranjit's user avatar
  • 48
0 votes
1 answer
129 views

Harbor registry proxy cache vs replication

I'm new to Harbor registry. I was asked to propose an architecture for harbor in my company. I proposed at first to use an architecture based on proxy cache. But the CISO refused to use proxy cache ...
mastertopg's user avatar
0 votes
0 answers
276 views

How to configure Harbor with external database and sslmode

I have a postgresql database where ssl is required resource "google_sql_database_instance" "instance" { provider = google-beta name = "harbor-postgre" ...
Andy's user avatar
  • 11
1 vote
0 answers
457 views

Harbor Invalid user name or password in port forward

I am unable to login to harbor portal after installing it in kubernetes and port forwarding it. Harbor-core service is not accessible and I am not sure if I should accesss harbor core or harbor portal....
Syed Ammar's user avatar
1 vote
1 answer
168 views

Gitlab DOCKER_AUTH_CONFIG with multiple robot accounts from the same registry

I use Harbor as a private Registry for my Docker images, and I store my images in different projects (ex: myproject1, myproject2, etc). Then I create one robot account in my project "myproject1&...
Jeremy Delmotte's user avatar
0 votes
1 answer
178 views

Harbor - Configure Http using Cloudflare

I'm making some tests with harbor container registry. In order to publish it to production I wanted to add the ssl support. As cloudflare provides it I'm wondering if is it possible to make it work. ...
Vinicius Andrade's user avatar
0 votes
1 answer
664 views

failed to unpack image on snapshotter overlayfs: unexpected media type text/html

I try pull image in K8s from my private registry But the container describe show Events: Type Reason Age From Message ---- ------ ---- ---- ...
Prodigalgal's user avatar
1 vote
1 answer
504 views

Change admin password in WEB UI have error

change admin password in WEB UI (harbor v2.1.0) login in error happen, have success and unauthorized WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password ...
junjie lee's user avatar
0 votes
0 answers
82 views

Clone repository from harbor using git

Problem Statement: Create 1 kubernetes kind deployment for an application . Application will run a web server which uses certain packages related files which will regularly get update in month time ...
kashif's user avatar
  • 68
0 votes
1 answer
80 views

How to get a webhook from harbor using alertmanger?

Suppose I have enabled webhook on harbor And... How to get a webhook from harbor using alertmanger? Initially, I tried to do it through vmalert and collecting metrics from harbor. In this way I did ...
Alexandr's user avatar
0 votes
0 answers
147 views

Docker Insecure registry works only for IP address

I have private harbor server with self-singed cert, put on, let's say 192.168.100.20, also dns in my network resolves this to harbor.ksa. Now i want to pull images from this server, and I am adding: &...
Misieq's user avatar
  • 507
0 votes
1 answer
234 views

How to find the pulled date of an image in Harbor with skopeo inspect?

How to get the docker image when has been pulled with skopeo inspect? When I use skopeo inspect --tls-verify=false docker://${image_path}:${tag} --config I can only find the key value "created&...
finalha's user avatar
1 vote
0 answers
33 views

Is the push replication mode in harbor synchronous or asynchronous?

Suppose I have 2 harbor repositories, 1 A and 1 B. A has set up replication rules in replication management to replicate mirrors to B via push mode. So I want to ask when I push the mirror like A, ...
李志博's user avatar
0 votes
0 answers
68 views

Load balancing Harbor Repo is not working when path_beg is having multiple paths

I have configured my harbor docker registry using HA Proxy. Here is my HA Proxy configuration. frontend ashok_registry bind 0.0.0.0:8080 use_backend maven-repo if { path_beg -i /repository } ...
Ashok Kumar's user avatar
1 vote
0 answers
354 views

Unable to pull docker images from harbor through proxy if default_backend is not mentioned

I have a private docker harbour repository which is having docker images and helm charts. I don't want to expose my harbour repository directly. I want to pull docker images and helm charts via HA ...
Ashok Kumar's user avatar
0 votes
0 answers
128 views

Connection refused when trying to push to Harbor registry

We have an internal Harbor registry setup on a CentOS server for storing the Docker images. It is accessed through a SSL URL. The SSL configuration is done on the load balancer. The server where ...
Sapan T's user avatar
2 votes
0 answers
620 views

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....
Jimmy He's user avatar
2 votes
0 answers
233 views

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 ...
Thomas Anderson's user avatar
1 vote
0 answers
112 views

How to estimate compressed Docker image size before the push?

I have a private Docker registry based on Harbor. I know that Docker does its own compression just before pushing an image to the registry. However, local-to-registry compression ratio is never the ...
doruk.sonmez's user avatar
0 votes
0 answers
122 views

Harbor Replication Master-Master?

I am deciding between two configurations for Harbor Replication. Either Master-copy/copies or Master-Master/s seems to be possible as per this article (https://github.com/goharbor/harbor/issues/3582). ...
JakeUT's user avatar
  • 361
0 votes
1 answer
157 views

Passing Trivy results to harbor

Before pushing an image into Harbor, I'm running a Trivy scan. Instead of having Trivy scan images again within harbor, I'm looking for a way to pass the JSON results from Trivy into harbor. trivy ...
J'e's user avatar
  • 3,036
1 vote
0 answers
53 views

Matlab: Distinguish land from ocean in harbors

I'm trying to distinguish land from ocean in harbors in Matlab. I have tried using the highest resolution maps from gshhs, but it isn't detailed enough. Below are is an example showing that it isn't ...
henrirno's user avatar
1 vote
0 answers
227 views

Docker login private repository doesnt work but can wget login url

I've been stuck on this for ages today. [almalinux@drone-ci ~]$ wget https://redacted/v2/ --2022-10-18 15:19:15-- https://redacted/v2/ Resolving redacted (redacted)... redacted Connecting to ...
NathanW's user avatar
  • 21
1 vote
0 answers
314 views

Harbor installation via Bitnami helm chart expose via host machine ingress controller (not External Load Balancers) on single node microk8s cluster

it is about to expose service via ingress rules and ingress controller , i do installation of harbor registry via helm chart https://github.com/bitnami/charts/tree/master/bitnami/harbor and default ...
sahib nasirri's user avatar
0 votes
1 answer
866 views

HARBOR Registry Return x509 error During the login session

In ethernet connected system I use harbor registry for docker images in login session it returns x509: certificate relies on legacy Common Name field, use SANs instead error. How I resolve this ...
Fatih Bildirici's user avatar
0 votes
1 answer
238 views

Where are the manifest files of docker images stored on private registry?

I have a Harbor registry containing docker images on AWS s3, what is the path for the manifest file for each image?
smgtkn's user avatar
  • 69
0 votes
1 answer
238 views

Harbor - Copy registry

I have a Harbor server which has no connection to the internet what so ever. Not through a proxy, nothing and I need to get a bunch of container images from a vendor to it. I've installed Harbor on a ...
Patrik Falck's user avatar
0 votes
0 answers
34 views

Undo accidental deletion of Docker image repository

I accidentally deleted the wrong repository from Harbor. I read it's now "soft deleted". I wonder if there's a way to bring it back.
siggi's user avatar
  • 45
0 votes
0 answers
89 views

error happend when i pull image from my harbor

I can docker login my harbor [enter image description here][1] also i created daemon.json like [enter image description here][2] so here i will show how my harbor hub looklike [enter image description ...
mumong's user avatar
  • 1
0 votes
1 answer
111 views

Why can use “docker run imgae“ an image,but can't “docker-compose“ run the same image?

My db.docker file FROM loongson.harbor.cn/larchloongsoncloud/loongnix-server:8.3 RUN yum install -y glibc-common #RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US....
qingyu li's user avatar
0 votes
1 answer
1k views

Kubernetes - how to specify image pull secrets, when creating deployment with image from remote private repo

I need to create and deploy on an existing Kubernetes cluster, an application based on a docker image which is hosted on private Harbor repo on a remote server. I could use this if the repo was public:...
Mac's user avatar
  • 3
0 votes
0 answers
1k views

I can't run scan task for trivy 0.24.2 in harbor

harbor 2.4 migrate from 2.3 get logs Jul 14 14:19:55 172.26.0.1 trivy-adapter[13699]: {"error":"running trivy: exit status 1: Incorrect Usage. flag provided but not defined: -format\n\...
wyx's user avatar
  • 3,334
0 votes
1 answer
137 views

private network harbor access remote server using router

I have harbor git registry in private network. This network connect internet using router. I try docker login where remote server. This server not in private network (Remote server - Router - Harbor(...
snow_kor's user avatar
0 votes
1 answer
2k views

Failed to pull image with "x509: certificate signed by unknown authority" error

I am using k3s kubernetes, and Harbor as a private container registry. I use a self-sign cert in Harbor. And I have a sample image in Harbor, which I want to create a sample pod in Kubernetes using ...
maantarng's user avatar
  • 129
1 vote
1 answer
2k views

Pulling image from private container registry (Harbor) in Kubernetes

I am using Harbor (https://goharbor.io/) for private container registry. I run the Harbor using docker compose, and it is working fine. I can push/ pull images to this private registry using a VM. I ...
maantarng's user avatar
  • 129
2 votes
1 answer
494 views

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 ...
hsbrysk's user avatar
  • 31
0 votes
1 answer
531 views

Harbor Onboard oidc user via API

We are facing the issue while doing onboarding of a oidc user via API. We are calling the same API which called from the UI when we do the same activity from UI. /c/oidc/onboard Api is always throwing ...
Ashish's user avatar
  • 178