Questions tagged [docker-registry]

84 questions
1
vote
1 answer

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:5000:5000 \ --restart=always \ --name registry…
quickshiftin
  • 2,125
  • 5
  • 27
  • 41
1
vote
1 answer

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:5000 --restart=always --name registry_auth -v…
user192756
1
vote
1 answer

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

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 HAProxy to forward traffic from that URL to some…
RooSoft
  • 236
  • 2
  • 10
1
vote
1 answer

Can I not just pack up a Docker image and bring it over to my server?

I'm well aware of how you deploy your own Docker registry, but I think in my case this might be an overkill. I was wondering if there is a way of packing up an image I build on one machine, and unpacking it in the server, ready for docker…
Morpheu5
  • 259
  • 4
  • 18
1
vote
1 answer

Private Docker Registry (with TLS certificate)

I'm trying to setup a private docker registry based on the documentation of https://docs.docker.com/registry/deploying/#running-a-domain-registry. I'm using StartSSL as certificate issuer, downloaded their intermediate crt's and combined them with…
Martin Ahrer
  • 279
  • 1
  • 3
  • 12
1
vote
1 answer

Why does docker pull from private Docker registry using nginx SSL reverse proxy work on registry host, but not remote host?

Why does docker pull from a private Docker registry using an nginx SSL reverse proxy work on registry host, but not remote host? Successful docker pull From registry host: admin@vps58622:~/docker-registry$ docker pull…
Derek Mahar
  • 901
  • 3
  • 8
  • 16
1
vote
1 answer

Docker container log retention

We are running Century Link's Watchtower container. This allows us to have a watch a docker registry and download new images when they are created. When watchtower finds a new image it runs docker rmi which deletes the old container. With that the…
Jon Harding
  • 111
  • 2
1
vote
1 answer

gcloud docker push failing "unable to ping registry endpoint https://gcr.io/v0/"

I am trying to set-up Google Container Engine, I am trying to push my first Docker Container into GCE Repository, however I am getting following errors: oash-3.2$ gcloud docker push gcr.io/prlr-dev-01/centos-7-systemd --verbosity inf INFO:…
1
vote
1 answer

Docker registry with TLS - using a .pem file

In this docker guide https://docs.docker.com/registry/deploying/ is the example for using crt and key: docker run -d -p 5000:5000 --restart=always --name registry \ -v pwd/certs:/certs \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \ …
Eran
  • 55
  • 1
  • 2
  • 8
1
vote
0 answers

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, if the containers were stored as part of the…
davidparks21
  • 928
  • 1
  • 12
  • 27
1
vote
1 answer

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 certificate. I'm able to use docker login from…
k.Cyborg
  • 121
  • 1
  • 8
1
vote
1 answer

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: Warning Failed 10s kubelet Failed to…
user3142695
  • 105
  • 12
1
vote
1 answer

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 = Unknown desc = failed to pull and unpack image…
locose
  • 11
  • 3
1
vote
1 answer

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 have a situation where I would like to pull…
Bernd Haug
  • 888
  • 5
  • 12
1
vote
1 answer

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 network during the installation process. To describe…