Questions tagged [docker-registry]
The docker-registry tag has no summary.
98 questions
0 votes
0 answers
128 views
drone.io, registry-plugin and right auth configuration
I got a drone.io pipelines uses docker images from private registry. This registry using basic-auth (htpasswd file). For auth drone-server on this registry i using registry-plugin. But for right work ...
0 votes
1 answer
335 views
Unknown Docker Image RepoDigests
TL;DR: I cannot understand how telegraf@sha256:05cbea951c5cf9da6c663321b32848c1b6ffdfa877563237838efa21b508b079 and telegraf@sha256:848201b0601513122f567a6b690b5ef84abbb38e78ca461d1c1d3d7465691d39 are ...
5 votes
1 answer
3k views
MANIFEST_UNKNOWN error: OCI index found, but Accept header does not support OCI indexes
Why am I getting this OCI index found, but Accept header does not support OCI indexes error? user@disp7456:~$ curl -H "Authorization: Bearer QQ==" https://ghcr.io/v2/homebrew/core/vim/...
0 votes
2 answers
804 views
Kubernetes on aws ec2 - private registry certificate signed by unknown authority
Issue Summary I have a Kubernetes cluster 1.30 running on 3 AWS EC2 servers, 1 master node, and 2 worker nodes. I am trying to deploy a private container registry using the registry:2.8.2 image of the ...
0 votes
2 answers
4k views
unknown blob error in private docker registry under nginx reverse proxy
I'm trying to run a private docker registry in a virtual machine, as a previous step to deploy it in a VPS. When I run the registry in local, with this command, everything seems to work fine: docker ...
1 vote
0 answers
162 views
Helm install using a local compressed k8s-dashboard.tgz file. Can see the image with crictl command, but cannot resolve an "ImagePullBackOff" Err
I am having trouble installing Kubernetes-Dashboard onto my 4-node (1 Control Node, 3 Worker Node) cluster. I have been tasked to install RHEL 8 and RKE2 onto 4 servers that need to be available for a ...
0 votes
1 answer
918 views
Podman "no route to host" when pushing to container registry with sudo, but works without sudo
I am encountering a problem with Podman on my system when I try to push images to a local registry. First, I start the registry container with sudo. $ sudo podman container run -dt -p 5000:5000 --name ...
0 votes
0 answers
47 views
Custom docker resitry on ubuntu - 500 error
I'm installed this version of docker registry on UBUNTU server docker-registry github.com/docker/distribution 2.8.0+ds1 ubuntu version is: PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu&...
0 votes
0 answers
1k views
How to troubleshoot "EOF" Docker pull error when working over VPN?
I am pulling image from the public Docker registry and getting the following error: % docker pull ubuntu Using default tag: latest Error response from daemon: Head "https://registry-1.docker.io/...
0 votes
1 answer
268 views
What are the way to restrict a docker engine to specific repository?
I am searching for possible ways to restrict docker from accessing docker registries other than the one I would specify. I have found docker access management, but that is for docker business and only ...
0 votes
0 answers
1k views
docker pull manifest unknown: manifest unknown
I'm using docker registry, using minio to store images. Here's what my registry is configured to do and the command to run it # vim /etc/docker/registry/config.yml version: 0.1 log: fields: ...
1 vote
0 answers
1k views
Docker private registry: got 400 bad request when docker push
I'm trying to build a private docker registry on my server. I made a docker-compose project using registry image. Nginx is used for reverse proxy from hub.topfyf.cn to localhost:5000. I tried docker ...
0 votes
1 answer
965 views
How pull Artifact Registry images from a on-premise k8s cluster?
I know I should create a service account key, with JSON credentials, from Google Cloud Console and give the appropriate role. Then I should use the kubectl command to create the secret: kubectl -n=...
1 vote
1 answer
3k views
How do I make `ctr image pull` always use a custom `--hosts-dir` without specifying it in the command line?
I've got a custom file in /etc/containerd/certs.d/registry.at.my.company/hosts.toml that has some configuration set up for a local registry container running on my servers. This is working fine when I ...
1 vote
2 answers
15k views
Ubuntu 22.04 Error from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 127.0.0.53:53: connection refused
In Ubuntu 22.04 root@k8s-eu-1-master:~# sudo systemctl daemon-reload root@k8s-eu-1-master:~# sudo systemctl enable docker Synchronizing state of docker.service with SysV service script with /lib/...
0 votes
1 answer
2k views
How to efficiently copy multiple Docker images between two air gapped repositories?
I need to efficiently copy Docker images between two air-gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a ...
1 vote
0 answers
290 views
MicroK8s does not authenticate with gitlab private registry
I have an instance of MicroK8s, I am currently migrating my applications. But I can't authenticate to Gitlab's private registry. About my environment: MicroK8s Gitlab (with registry working securely) ...
0 votes
0 answers
2k views
docker registry behind nginx reverse proxy with authentication and ssl
I'm trying to push images remotely to my private docker registry, which fails like this: $ podman push sub.example.com:5000/dummyimg sub.example.com:5000/rem/dummyimg Getting image source signatures ...
0 votes
0 answers
3k views
Nexus Repository Manager does not release storage after asset deletion
I have a Nexus (version 3.30.0) for a docker registry: Since a lot of TB data has accumulated here over time, I have built a script that analyses in a relatively complex way which images are no longer ...
0 votes
1 answer
2k views
docker registry-mirrors is not used for fqdn images
I have a docker server behind a firewall, so I cannot pull images directrly from any registry besides internal servers. I have configured two registry mirrors (registry-1.docker.io and mcr.microsoft....
1 vote
1 answer
5k views
Podman fails pushing image to AWS ECR repository with: Error: writing blob: Post
I have issues trying to push an image I created with podman to an ECR container I have. The issue doesn't seem to be related to permissions or authentication and I am struggling to find similar issues ...
1 vote
0 answers
2k views
Docker-in-docker/GitLab CI: adding and using credential helper
For my organization I am building a GitLab CI/CD pipeline for one of our projects. One job in this pipeline will be executed on a Docker executor GitLab runner running on one of our own servers. The ...
3 votes
2 answers
28k views
Does Alpine Linux Docker Image contain OpenSSL
Does the official alpine docker image bundle OpenSSL. I created a new container locally and I can't find the openssl command. Is there an official doco with everything that's installed by default? I ...
0 votes
1 answer
364 views
Run Docker Registry behind iptables
I am trying to run a private docker registry on my CentOS 7 VPS which is running httpd apache and iptables. When I start the container, docker run -it -p 5017:5000 --name registry registry, I try to ...
1 vote
0 answers
257 views
Can Gitlab container registry store containers at the group level or only at the repository level?
Using a self-hosted GitLab instance I can configure the GitLab container registry under a repository successfully. The repository is part of a GitLab group. It would be more logical, organizationally, ...
0 votes
1 answer
2k views
Docker registry on localhost does not work
I am using a private docker registry on the host foo with the following docker-compose.yml: version: '3.2' services: registry: restart: unless-stopped image: registry:2 ports: - 5000:...
2 votes
1 answer
15k views
Getting 401 Unauthorized while trying to pull images from local docker registry (harbor) from k3s
Due to work I need to self-host a local docker proxy cache using Harbor. So i wen to their doc and I installed the server and configured it properly, accesing it via FQDN and using a self-signed ...
0 votes
1 answer
1k views
Docker private registry as kubernetes pod - deleted images auto-recreated
I run a docker private registry v2.7.0 as a kubernetes pod with a service and a persistent volume, thanks to the Varun Kumar G tutorial, which has been the only successful method on my setup, for ...
1 vote
1 answer
2k views
Can't use images from k8s.gcr.io registry in my kubernetes cluster
I've setup a k8s cluster on a bare metal ubuntu machine using RKE. There is no problem creating deployments with images from docker.io. But I can't create deployments which are based on gcr.io: ...
1 vote
1 answer
4k views
K3S can't pull public docker hub images
K3S cluster is failling to pull public docker hub images. in this instance i will user linuxserver/webtop which presents the error Failed to pull image "linuxserver/webtop": rpc error: code =...
2 votes
1 answer
4k views
Docker Registry pull/push 443 only
I've set up a Docker Registry (port 5000), which is then accessible to the internet via Reverse-Proxy (HAproxy) via https (port 443). My reverse-proxy isn't listening on port 80 (for various reasons) -...
6 votes
1 answer
4k views
`registry-mirrors` with Harbor as pull-through registry cache
I am trying to configure Harbor as a pull-through registry linked to Docker hub. While I manage to pull images by prefixing them per the doc, I cannot make it work by using the registry-mirrors Docker ...
1 vote
1 answer
3k views
System-wide Docker login?
Is there any way to log a whole machine / Docker daemon into a registry? Everything I see about docker login and various proprietary credentials helpers uses ~/.docker/config.json, i.e. is per-user. I ...
2 votes
1 answer
4k views
NGINX Ingress on Kubernetes doesn't use HTTPS
I am setting a Kubernetes cluster on bare metal. I used Kubeadm for the installation. To make my services accessible from outside the cluster, I installed an NGINX Ingress, using the following ...
0 votes
1 answer
2k views
Why does my container not contain DB data after I commit it?
I'm trying to create a PostgreSQL container that already contains development data. I can see the data I have created, but when I commit, push, and pull the image, the data is not there. Below is my ...
2 votes
1 answer
6k views
Gitlab Container Registry timeout when connecting
Building an on-prem / self-hosted deployment of Gitlab for the first time. I've got the self-installation completed, single box and three dedicated hosts for runners (that I'm working to get them ...
1 vote
1 answer
4k views
Why is my docker registry refusing connections from VMs in my local network but not the host?
For context - I am attempting to deploy OKD in an air-gapped environment, which requires mirroring an image registry. This private, secured registry is then pulled from by other machines in the ...
0 votes
1 answer
144 views
Unable to create and connect to own docker registry
I'm trying to host a private docker registry. I've followed: https://docs.docker.com/registry/ to create my own registry? But when running: curl http://127.0.0.1:5000 It exits without error, but ...
1 vote
1 answer
548 views
Certificates in docker local registry
I'm trying to set up a docker local registry within my university network. Since they offer certificates from rediris I requested one, so I have now three different files: cert.pem intermediate.pem ...
1 vote
0 answers
124 views
Open shift internal registry lost connection with the cluster
As a result getting image pull error while submitting the deployment to the kube API. Even the docker registry pod IP is in connection but VIRTUAL IP of docker registry lost connection with the ...
1 vote
1 answer
2k views
Hosting docker images on multiple registries but reference them the same way e.g. in a k8s deployment
Since I started with docker there is one question that follows me and I could not get a good answer so far. Let's assume I have a .yaml file specifying a k8s deployment. We are building our docker ...
2 votes
0 answers
698 views
Docker behind squid proxy
Im running a squid http proxy with squidguard and already configured a dest block on squidguard with the domainlist of the allowed domains, also configured the docker.service.d to have a http proxy (...
0 votes
1 answer
6k views
Minikube Failed to pull image http: server gave HTTP response to HTTPS client
I've a minikube running on OSX with hyperkit with insecure registry enabled $ minikube start 🎉 minikube 1.12.1 is available! Download it: https://github.com/kubernetes/minikube/releases/tag/v1.12.1 �...
9 votes
3 answers
7k views
How to delete docker images older than x days from docker hub using a shell script
How to delete docker images from docker hub using a shell script. I want to delete all images from docker hub older than past 50 days of a private docker hub account. Any ideas? Which tools to use ...
1 vote
1 answer
229 views
Setting up a docker registry on EC2 instance
I want to set up a private registry on an AWS ec2 instance, in such a way that I could securely push images, and our clients could securely pull them (but not push). Right now I tried to do so with a ...
2 votes
1 answer
3k views
Is it possible to have a failover/backup docker registry?
Since the failure of quay.io last week everyone in the company recognized how important is the service. And this raised this question on my head: If this happens again, how can my infrastructure be ...
0 votes
1 answer
769 views
How to get the image history from a private docker-registry?
We have a private docker registry that is growing and consuming all the disk space. Until now we increased the disk space two times but now we like to delete the images that haven't been accessed for ...
0 votes
1 answer
295 views
Kubernetes: Issues with liveness / readiness probe on S3 storage hosted Docker Registry
Current setup Hello. I'm using a Docker Registry helm chart deployed with an S3 storage. Now I would like to update (change) the way the live/readiness probes work. The reason being that after one ...
0 votes
1 answer
946 views
How to block specific port with iptables
I have a service running (docker registry) on my debian server at port 5000. I would like to restrict access to that to specific IP, so I've created a file with rules (1.2.3.4 is my trusted IP) *...
1 vote
2 answers
6k views
GitLab docker registry reject push with error 500
Summary I have self-hosted gitlab, installed with apt. I don't have git_data_dir in default location (see config). I can't push docker image into docker registry, directory <shared_path>/...