Questions tagged [docker-registry]

The tag has no usage guidance.

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

How to create a kind cluster registry to access locally?

You can create a local registry in docker as a container. And use the same in kubernetes environment running using kind(kubernetes in docker). The host machine is same. The registry is running as a ...
0
votes
0answers
13 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
1answer
63 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
1answer
35 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 ...
0
votes
1answer
277 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
1answer
82 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
1answer
23 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
1answer
49 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
0answers
45 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
1answer
139 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 ...
0
votes
0answers
75 views

Trouble pulling a container from Docker from AWS CodeBuild

I am trying to pull a docker container in AWS CodeBuild. The build fails with this error message docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled ...
0
votes
0answers
209 views

Enable only tls 1.2 to docker-registry

I have installed docker-registry using default configuration options. docker run -d -p 5000:5000 --restart=always --name registry -v /path/to/certificate_file:/certs -e REGISTRY_HTTP_ADDR=0.0.0.0:5000 ...
0
votes
0answers
146 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
0answers
37 views

openshift docker registry behind haproxy not working

i have an openshift cluster ( 2 x Compute node + infra node + master-infra node + master node ) and an haproxy that load balance between 2 api-servers and load balance between the 2 routers. I'm ...
0
votes
0answers
15 views

If Docker registry and daemon are on same machine, can “docker pull” be accelerated?

If I push an image to a machine running a Docker registry, and then use this image for a docker daemon on the very same machine, I first have to docker pull. This seems wasteful, as it triggers an I/...
0
votes
1answer
2k 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 �...
3
votes
2answers
936 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
1answer
22 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
1answer
704 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
1answer
50 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
1answer
88 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
1answer
283 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) *...
0
votes
1answer
1k 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
1answer
156 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 ...
4
votes
1answer
1k 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
1answer
327 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 ...
0
votes
1answer
328 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
3answers
333 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
0answers
19 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 ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
537 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 ?
2
votes
1answer
1k 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
0answers
63 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 ...
0
votes
1answer
801 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
0answers
1k 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 ...
0
votes
1answer
978 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
1answer
67 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 ...
3
votes
1answer
5k 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
vote
0answers
161 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 ...
5
votes
3answers
4k 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) ...
1
vote
1answer
5k 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
1answer
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:...
0
votes
2answers
2k views

Docker Issue - exit status 34

I am facing "exit status 34" while creating docker service. please suggest what is the issue. Docker version : Docker version 17.09.1-ce, build 19e2cf6 Error Log :nsenter: failed to unshare ...
0
votes
1answer
584 views

gcloud docker — push request canceled while waiting for connection

Trying to push docker image to gcloud and started getting this error. gcloud docker -- push us.gcr.io/purple01-192114/purple_cloud:80only The push refers to repository [us.gcr.io/purple01-192114/...
1
vote
1answer
2k views

docker private registry - basic auth

I setup an insecure private registry using: [root@docker-regi ~]#docker run --entrypoint htpasswd registry:2 -Bbn myuser mypassword > /auth/htpasswd [root@docker-regi ~]#docker run -d -p 5000:...
9
votes
1answer
15k views

Easy way to remove a tag from a private Docker registry?

I have a private Docker registry, v2.6.0, containing several tagged versions on an image: foo/bar:1 foo/bar:1_keep (same image as 1) foo/bar:2 foo/bar:3 foo/bar:latest (same image as 3) I want ...
0
votes
1answer
644 views

docker - private registry with front webUI (not taking in images)

I spawn up a new Docker registry and front-end webUI for it using: [root@centos-reg ~]# docker run --name registry -d -p 5000:5000 -v /var/docker-reg:/docker-registry-storage lukaspustina/registry-...
1
vote
1answer
514 views

Can I reuse a HTTPS certificate from letsencrypt on my docker private registry? [closed]

I have an HAProxy server that's exposed on the internet. I've used a subdomain such as registry.mydomain.com to create letsencrypt certificates, enabling encrypted connections. Now, I want to use ...
0
votes
1answer
221 views

Docker registery show images

I installed docker registry according to this Document now i have this images : registry latest 9d0c4eabab4d 2 weeks ago 33.2 MB nginx 1.9 ...
0
votes
1answer
211 views

Openshift import-image fails to pull because of certification errors, however docker does

i have created a TLS private docker registry. I have updated the ca-trust in the machine that I want to pull from and it works, curl works without the -k parameter, docker can pull etc. However, the ...