Questions tagged [docker-registry]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 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 ...
  • 101
0 votes
0 answers
16 views

Can't Access Docker Registry 2 locally through curl or remotely - Private Docker Registry

I have been trying to run the Docker Registry on my VPS but I have had no luck. I have been reading the docs here, following guides like Digital Ocean, as well as Googling and following other ...
  • 101
0 votes
0 answers
7 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
90 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:...
  • 131
0 votes
0 answers
66 views

Image pull bug when using multi-OS Docker repo together with multi-OS Kubernetes cluster

Our company's Kubernetes cluster recently started experiencing Docker image pull errors after AKS update of K8s versions (1.21.9 to 1.22.6). No changes were made to cluster config. Apparently the ...
0 votes
1 answer
2k 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 ...
  • 111
0 votes
0 answers
153 views

install helm chart package without public container registry (offline,locally)

My problem is when i want to install a package in Kubernetes cluster with helm chart, for example install gitlab with helm, during installation there is need to download docker image from a public ...
  • 1
0 votes
0 answers
431 views

Harbor behind a traefik reverse proxy docker login timeout

So I'm loosely following Robert Jensen's blog post to create a Harbor registry for my home lab. I host multiple services on one machine and so I have traefik running beautifully as a reverse proxy for ...
0 votes
1 answer
419 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
1k 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
938 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 =...
  • 11
2 votes
1 answer
749 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) -...
  • 165
2 votes
0 answers
1k 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 ...
  • 253
0 votes
1 answer
573 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 ...
1 vote
1 answer
1k 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 ...
  • 11
0 votes
1 answer
433 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 ...
  • 355
0 votes
1 answer
2k 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
1k 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
33 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
125 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
51 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
572 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 ...
1 vote
0 answers
369 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
4k 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 �...
  • 153
4 votes
3 answers
3k 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 ...
  • 61
1 vote
1 answer
31 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 ...
  • 111
2 votes
1 answer
1k 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
205 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 ...
  • 409
0 votes
1 answer
132 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 ...
  • 101
0 votes
1 answer
442 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
1 answer
3k 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>/...
  • 111
-1 votes
1 answer
236 views

kubernetes not connecting to docker hub

Alright, so I am trying to publish a private docker image to kubernetes, and I am running into some odd issues. I start of with logging into docker docker login -u $DOCKER_USER -p $DOCKER_TOKEN ...
  • 333
5 votes
1 answer
3k views

Configuring "auth" and "credsStore" for different Docker registry

I'm trying to configure Docker for two different registries. (One ECR and docker.io) I need to configure ECR one with ecr-login and docker.io with simple auth but I'm failing to configure these at the ...
3 votes
1 answer
615 views

How to mminimize the network traffic for pulling docker images for many hosts

I am looking for a mechanism to minimize docker pull traffic for a bunch of hosts which are provisioning the same docker image. I tried to use squid-cache but apparently it is no good as it has no ...
  • 131
0 votes
1 answer
545 views

how to migrate Docker Registry from file system to S3 storage?

I am using the Docker Registry with the filesystem storage driver. What I want to do is to migrate that existing Registry to S3-compatible storage without loosing data. While I could pull all images ...
  • 302
1 vote
3 answers
855 views

Automatically init rolling update of kubernetes deployment when there is a new version of container image

I have a kubernetes deployment that looks like this: apiVersion: apps/v1 kind: Deployment metadata: name: datacollector spec: replicas: 1 selector: matchLabels: pod-type: ...
  • 111
0 votes
0 answers
24 views

azure container registry - manage namespaces and tags users can push to

I am trying to find out what the Actions for RBAC settings are for azure CLI/Powershell. I can't find a list of Actions/Permissions to assign to a role I don't know what is the right permission to ...
2 votes
1 answer
2k views

Google cloud sdk error : token exchange failed

I am totally new to Google Cloud. I am trying to push a Docker image on Google Cloud Registry. I have performed following steps : Installed Google Cloud SDK. Downloaded a JSON key file for my IM ...
0 votes
1 answer
1k views

Beginners guide to offline docker & docker registry

Considering “no online internet acess on server” phenomena in enterprises netwoek - how one approach docker & docker registry practice ?
3 votes
1 answer
2k views

How to handle retention policies in GCP Container Registry

GCP Container Registry is built on top of GCP Cloud Storage and one can set quite complex retention policies there. However there's no such functionality in Container registry and as there's no ...
  • 145
1 vote
0 answers
85 views

private docker registry tls authentication with AWS ACM

I have a private docker registry, which uses the domain.crt and domain.key for tls authentication, but few days before keys expired. Now i want to us AWS ACM certificate for the TLS. Problem is that ...
1 vote
1 answer
1k views

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be ...
0 votes
0 answers
2k views

Gitlab Runner installation Docker in Docker

Alright, so I am trying to install, register and successfully use a Gitlab Runner as a container in docker with the executor docker, basically docker in docker. I had some problems with it but was ...
  • 412
0 votes
2 answers
1k views

Docker login from GitLab CI without possibility to access Docker registry password from .gitlab-ci.yaml?

I'm trying to set up a CI environment to build and push a Docker image for a project. The Docker registry I'm trying to push to is a private registry that requires me to log in. I can log in to the ...
0 votes
1 answer
81 views

docker registry auth resource name

Hello I need to clarify docker daemon documentation on registry with Auth. I have found docker docs I also found godocs for docker registry. I searched the auth process, but I could not find anything ...
5 votes
1 answer
6k views

Docker Private Registry - Deleted all images, but still showing in catalog

Following the official documentation (https://docs.docker.com/registry/spec/api/#deleting-an-image) I have been able to successfully delete an image. As expected, after deleting, the image can no ...
  • 1,935
1 vote
0 answers
173 views

Reauthorize Google Container Registry GCR to read from Github

When trying to create a new Build Trigger I get the following response, after selecting Github as a source: Google Cloud Platform was not authorized to list repositories. Its access was most likely ...
6 votes
3 answers
5k views

GCP: No access to Container Registry from Compute Engine

I have a Docker image pushed to Google Container Registry at gcr.io/my-project/my-image:latest. In the same project, I created a Google Compute Engine instance based on COS (Container-Optimized OS) ...
  • 221
1 vote
1 answer
6k views

Remove docker image in registry by removing files/folders on server

I have the following problem with deleting an image or tag in docker-registry v2: I have a server that runs a docker-registry. I created an image and pushed it, that I now want to be gone. Now I want ...
1 vote
1 answer
2k views

Docker registry frontend

I'm trying to setup a trivial private repository using the official registry image and kwk/docker-registry-frontend as a frontend. My docker run command for the registry docker run -d -p 127.0.0.1:...
  • 2,025