Questions tagged [docker-registry]
The docker-registry tag has no usage guidance.
87
questions
0
votes
0
answers
40
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 ...
0
votes
0
answers
27
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 ...
0
votes
1
answer
146
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
60
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 ...
0
votes
0
answers
66
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
873
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
1
answer
735
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
488
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....
0
votes
0
answers
157
views
Established TCP connection but no data is returned
I'm running a simple registry with podman and bind it to a local private IP address.
podman container create \
--name insecure-registry \
--privileged=True \
--env REGISTRY_HTTP_ADDR=0.0.0.0:...
0
votes
1
answer
2k
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
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 ...
-1
votes
2
answers
10k
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
208
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
131
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
858
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:...
1
vote
1
answer
9k
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
842
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
2k
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
2k
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) -...
3
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 ...
1
vote
1
answer
1k
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
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 ...
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 ...
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 ...
1
vote
1
answer
2k
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
82
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
242
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
87
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
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 ...
1
vote
0
answers
567
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
5k
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
�...
7
votes
3
answers
4k
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
80
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
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 ...
0
votes
1
answer
469
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
173
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
615
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
4k
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>/...
-1
votes
1
answer
344
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
...
5
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 ...
3
votes
1
answer
841
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 ...
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 ...
1
vote
3
answers
1k
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: ...
0
votes
0
answers
60
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
2k
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
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 ...
1
vote
0
answers
120
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 ...