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
25
votes
1 answer

docker: "first record does not look like a TLS handshake" error when pull image

I have just installed docker and then try running hello-worldprogram. My server is behind proxy of company. So, I set proxy environment variables according to manual from docker in a file named…
hugtech
  • 877
  • 3
  • 11
  • 16
25
votes
12 answers

net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I am getting this problem while pushing the images to registry. I'm using Ubuntu server inside Ubuntu docker installed, and inside the docker created docker registry container and I have an issue while while registry is integrating with gitlab. Both…
Abhay Chowdary
  • 261
  • 1
  • 3
  • 3
25
votes
11 answers

Can I get an image digest without downloading the image?

Similar to the question "What´s the sha256 code of a docker image?", I would like to find the digest of a Docker image. I can see the digest when I download an image: $ docker pull waisbrot/wait:latest …
Nathaniel Waisbrot
  • 23,261
  • 7
  • 71
  • 99
25
votes
2 answers

Searching the Google Container Registry

I've been setting up my kubernetes cluster and I have been using the Google Container Registry for storing images. As a part of my setup I am building some tooling where I need to search the remote repository for images, including tags. So my…
25
votes
7 answers

docker build + private NPM (+ private docker hub)

I have an application which runs in a Docker container. It requires some private modules from the company's private NPM registry (Sinopia), and accessing these requires user authentication. The Dockerfile is FROM iojs:latest. I have tried: 1)…
GTF
  • 8,031
  • 5
  • 36
  • 59
24
votes
2 answers

New to docker, is it possible to protect my source code and add permissions?

I am interested in using Docker to host a project I am helping develop in work. However I have a few questions about it's suitability. Firstly, I wonder is it at all possible to keep the source code hidden from potential users/customers? Obviously…
User588233
  • 481
  • 2
  • 5
  • 16
23
votes
4 answers

How to fix this issue "no suitable node (scheduling constraints not satisfied on 1 node)" in docker swarm while deploying registry?

I have a docker swarm in a virtual machine with 2 core 4GB ram Centos. In the swarm when I deploy docker private registry (registry 2.6.4) it shows service status as pending forever. I used docker service ps <> And when i inspect…
Arul Ranjith
  • 465
  • 1
  • 5
  • 17
23
votes
4 answers

Docker private registry with mirror

I created two Docker containers. The first one provides a private Docker registry and the second one is a mirror of the official Docker registry: docker run -d --name registry -v /local/path/to/registry:/registry -e SETTINGS_FLAVOR=local -e…
Henrik Sachse
  • 51,228
  • 7
  • 46
  • 59
22
votes
4 answers

How to setup docker to use cache from registry on every build step

I have two servers with docker and one server with my private registry. I built Dockerfile on the first machine; then I pushed the image to the registry. Is it possible to build Dockerfile on the second machine immediately using cache from my…
SerCe
  • 5,826
  • 2
  • 32
  • 53
22
votes
9 answers

Docker registry 2.0 API v2

I pulled and setup the local docker registry:2.0 I have tried pushing an image successfully, but when ever I try searching for an image I get 404: root@ip-10-232-0-153:~# curl -v -X GET http://localhost:5000/v2/search * Hostname was NOT found in DNS…
alexfvolk
  • 1,810
  • 4
  • 20
  • 40
21
votes
6 answers

docker push fails : manifest invalid

When trying to do docker push to a private docker image registry, getting an error saying manifest invalid along with the error, it's giving some [DEPRECATION NOTICE], which might be the cause of the failure as well. Note: After getting…
Saikat Chakrabortty
  • 2,520
  • 4
  • 22
  • 39
21
votes
9 answers

How to fix EOF error during docker push command

I try to push an image in my public docker repository, but after some minutes I have this problem: and during pushing, the following occurs many times (when retrying): My version of docker is the following: How to solve this problem ?
daniele3004
  • 13,072
  • 12
  • 67
  • 75
21
votes
3 answers

What is the difference between the size and the virtual size of the docker images?

I have a private registry where I store all of my docker images. I noticed that when I pull an image from it,the difference in the sizes of the image on my local machine and the one on the registry is significant. For example,I have an image called…
Ilian Velchev
  • 211
  • 1
  • 2
  • 4
21
votes
5 answers

Docker config file location on windows to, e.g., enable insecure registry / docker options

I want to add an insecure-registry for testing purposes on a Windows 10 machine for Docker. Unfortunately I was not able to find any information where the usual /etc/docker/default config file is located on Windows. The error you get when trying to…
hb0
  • 3,350
  • 3
  • 30
  • 48
20
votes
4 answers

How to push a tar archive to private docker registry?

Now I have such a requirement,firstly I need export a container’s filesystem as a tar archive, then I need push this tar to my own docker registry.So could I push a tar file which is exported by using docker export image_name to my private…
fighter
  • 287
  • 1
  • 4
  • 9