Questions tagged [docker-registry]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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 ...
OrthoPole's user avatar
0 votes
1 answer
241 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=...
attgua's user avatar
  • 13
0 votes
1 answer
447 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 ...
2rs2ts's user avatar
  • 325
0 votes
0 answers
61 views

Cloud Flare Certificate - Origin server NET::ERR_CERT_AUTHORITY_INVALID

I've a private container registry, thats exposed with a dns proxied with CloudFlare. So far everything was working fine, now we are migrating our services devops to github actions and while I try to ...
Vinicius Andrade's user avatar
0 votes
2 answers
2k 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/...
Raphael10's user avatar
  • 157
0 votes
1 answer
234 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 ...
Sergey's user avatar
  • 103
1 vote
0 answers
136 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) ...
Hiago Souza's user avatar
0 votes
0 answers
1k 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 ...
Yaroslav Alexeevich's user avatar
0 votes
1 answer
1k 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 ...
Tamino Elgert's user avatar
0 votes
1 answer
742 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....
SWilk's user avatar
  • 181
0 votes
1 answer
3k 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 ...
carlitobrigante's user avatar
1 vote
0 answers
1k 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 ...
Joshua Schroijen's user avatar
-1 votes
2 answers
13k 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 ...
Nikolay's user avatar
  • 107
0 votes
1 answer
255 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 ...
Jwags's user avatar
  • 101
1 vote
0 answers
151 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, ...
davidparks21's user avatar
0 votes
1 answer
1k 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:...
t777's user avatar
  • 221
2 votes
1 answer
10k 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 ...
k.Cyborg's user avatar
  • 131
0 votes
1 answer
955 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 ...
Alexander Sofianos's user avatar
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: ...
user3142695's user avatar
1 vote
1 answer
3k 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 =...
locose's user avatar
  • 11
2 votes
1 answer
3k 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) -...
RazorHail's user avatar
  • 165
4 votes
0 answers
2k 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 ...
mimo's user avatar
  • 283
1 vote
1 answer
2k 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 ...
Bernd Haug's user avatar
2 votes
1 answer
3k 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 ...
Thomas's user avatar
  • 21
0 votes
1 answer
1k 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 ...
Travis's user avatar
  • 375
2 votes
1 answer
4k 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 ...
DavisTasar's user avatar
1 vote
1 answer
3k 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 ...
Blake Simmons's user avatar
0 votes
1 answer
89 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 ...
Raoul Debaze's user avatar
1 vote
1 answer
296 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 ...
Vicent Blanes's user avatar
1 vote
0 answers
92 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 ...
user14805338's user avatar
1 vote
1 answer
1k 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 ...
Mangosniper's user avatar
1 vote
0 answers
576 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 (...
tommyduarte's user avatar
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 �...
bachr's user avatar
  • 183
8 votes
3 answers
5k 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 ...
amit's user avatar
  • 111
1 vote
1 answer
111 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 ...
Lakerda's user avatar
  • 111
2 votes
1 answer
2k 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 ...
MikeVelazco's user avatar
0 votes
1 answer
515 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 ...
AVarf's user avatar
  • 479
0 votes
1 answer
185 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 ...
dvdblk's user avatar
  • 101
0 votes
1 answer
641 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) *...
elzix88's user avatar
1 vote
2 answers
5k 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>/...
Ajax's user avatar
  • 111
-1 votes
1 answer
370 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 ...
munHunger's user avatar
  • 383
6 votes
1 answer
4k 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 ...
U. Ahmad's user avatar
3 votes
1 answer
905 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 ...
h.safe's user avatar
  • 131
2 votes
1 answer
1k 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 ...
muffel's user avatar
  • 372
1 vote
3 answers
2k 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: ...
domisum's user avatar
  • 111
0 votes
0 answers
67 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 ...
Martin Muzatko's user avatar
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 ...
Rushikesh Mandage's user avatar
0 votes
1 answer
3k 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 ?
Vijay Gharge's user avatar
3 votes
1 answer
3k 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 ...
Fleuri's user avatar
  • 255
1 vote
0 answers
124 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 ...
Shrikant Shelke's user avatar