Questions tagged [docker-registry]

Docker Registry is a service which you can push Docker images to for storage and sharing. It is also the tool's name.

Docker registry services are provided as hosted or self-hosted services by various vendors:

Self-hosted:

Hosted

All of them comply either to v1 or v2 of the Docker registry API specification.

Docker Registry tool is at https://github.com/docker/docker-registry.

1698 questions
14
votes
5 answers

Docker not able to pull images behind proxy TLS handshake timeout

I have latest Docker version 18.06.0 installed on CentOS 7. My server is in a corporate network so using a proxy server to access the registry. I have added proxy settings as per docker documentation. But finally adding proxy settings in worked…
Akshay Hiremath
  • 950
  • 2
  • 12
  • 34
14
votes
4 answers

Docker push - net/http: TLS handshake timeout

I've deployed a private docker image registry on an AWS EC2 Ubuntu 14.04 instance. The registry is secured using Let's Encrypt certificate. Unfortunately, I'm getting net/http: TLS handshake timeout for docker push operations that take longer than…
luqo33
  • 8,001
  • 16
  • 54
  • 107
14
votes
3 answers

Why can't I delete a layer in my private docker registry(v2)?

I have just installed the docker-registry in stand-alone mode successfully and I can use the following command curl -X GET http://localhost:5000/v2/ to get the proper result. However, when I use curl -X DELETE…
sixgodwater
  • 151
  • 1
  • 5
13
votes
5 answers

How could I list the images pushed to microk8s built-in registry

I installed microk8s and I enabled registry addon I am able to push docker images to this registry and I am able to use this images in deployments. But I'm trying to list images that was already pushed to this registry. How can I do that? Is there…
EduMelo
  • 455
  • 3
  • 15
13
votes
2 answers

Docker for MAC | Cannot run program "docker-credential-desktop"

I'm trying to create a Docker image on a Mac computer. The command fails with the following error. I'm on Docker Desktop version 2.2.05. Cannot run program "docker-credential-desktop": error=2, No such file or directory I've read on some forums…
13
votes
2 answers

How many docker images can I store in Docker Private Repository

I have created one private repository in docker hub. My doubts are How many separate images can I store in my single private repository? Is there any image size restriction? When do I need more than one private repository?
13
votes
1 answer

Docker Login: Error when manually logging into private Registry

I can't manually log into my private GitLab Docker Registry from CLI: # docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}" "${DOCKER_URL}" error getting credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` System…
NoMad
  • 702
  • 2
  • 11
  • 27
13
votes
2 answers

Access Token for Dockerhub

I created a repository on hub.docker.com and now want to push my image to the Dockerhub using my credentials. I am wondering whether I have to use my username and password or whether I can create some kind of access token to push the docker…
Michael Lihs
  • 7,460
  • 17
  • 52
  • 85
13
votes
3 answers

Update a docker image in registry

I pushed my docker image to my private registry once, but when I want to push again that image I got these messages : 06-Sep-2016 10:54:10 Error response from daemon: Conflict: Tag latest is already set to image…
13
votes
1 answer

What is the docker registry v2 API endpoint to get the digest for an image?

According to https://docs.docker.com/registry/spec/api/ I can call /v2//tags/list to get a list of the tags for a given image. It works fine, e.g.: {"name"=>"avi/test", "tags"=>["latest"]} However, I would like the digest for each tag. Yes,…
deitch
  • 14,019
  • 14
  • 68
  • 96
13
votes
2 answers

Pull private docker images from Google Container Registry w/o gcloud

I'm using shippable to push private docker images to the Google Container Registry that I then want to pull from either locally on a laptop, or inside an instance on the Google Compute Engine. I know that the command gcloud preview docker pull…
12
votes
1 answer

How to push docker compose to docker hub

i have serveral services in my docker-compose file, it looks like this: version: '3.7' services: web: build: ./ command: gunicorn --bind 0.0.0.0:5000 --workers 2 --worker-connections 5000 --timeout 6000 manage:app volumes: -…
Mamen
  • 1,322
  • 5
  • 21
  • 44
12
votes
2 answers

Kubernetes: Failed to pull image. Server gave HTTP response to HTTPS client

I'm trying to use Kubernetes with Docker. My image runs with Docker. I have one master-node and two worker-nodes. I also created a local registry like this $ docker run -d -p 5000:5000 --restart=always --name registry registry:2 and pushed my image…
angelika285
  • 255
  • 1
  • 3
  • 12
12
votes
2 answers

What is the difference between JFrog Container Registry and JFrog Artifactory?

Is the registry a pivot for JFrog product portfolio or is it some set of additional capabilities? The functionality is very interesting either way but it would be nice to to understand the details.
12
votes
5 answers

gitlab docker registry with external nginx and omnibus

I already run a gitlab server inside a docker container with an external nginx server inside an other docker container, so the gitlab nginx server is deactivated. Now I want to use the docker registry included in the gitlab server. I try to get the…
CordlessWool
  • 1,388
  • 4
  • 17
  • 35