Tag: docker registry

How to fetch Ips of a service in docker swarm cluster ?

I am running a docker swarm mode cluster with 2 nodes, and deploy 5 services : [ mysql , mongo , app ] and wish to filldb with an ansible script from my manager node. But I can not get the Ip from nodes to access db services in container ? e.g: mysql -h {{ […]

Docker registry error response from daemon i/o timeout

Error response from daemon: Get https://registry.xxx.com:5000/v1/users/: dial tcp: lookup registry.xxx.com on read udp> i/o timeout I have set up a private docker registry running on an Ubuntu server, but keep getting the error above when I do “docker login https://registry.xxx.com:5000″. When I run “curl -v https://registry.xxx.com:5000” from my mobile phone’s network I can […]

Way to delete the images from Private Docker Registry

I have a Private Docker Registry set up and i have pushed some images from other machine to this registry. Its a V2 registry. I don’t know a novel way to delete the images from repositories since these pushed images doesn’t get listed in CLI for “docker images”. Can anyone suggest me the proper way […]

Docker local private registry cross region setup

I have a local docker registry setup on my local LAN. But now the problem is my colleague working from another part of the world face huge lag and latency issue while pushing and pulling container into this local registry. So is there a way out as I can setup 2 docker registry one in […]

Docker image wrapping for binary blobs

Is it possible to wrap random binary blobs into a Docker image? Perhaps with a base layer of Alpine Linux so that the image consists of the blob as the top layer?

Garbage collecting Docker registry using S3 is very slow

Garbage collecting a Docker registry on S3 is very slow. It took over 24 hours to GC a 500GB registry. My main docker registry is over thirty times larger. I’m thinking that the GC is slow because the Docker garbage collection routine is not efficiently using S3 API calls. Does anyone know of a Docker […]

docker registry push failed on localhost

I’m running docker registry on my localhost:5000, when i try to put the image getting the below error. bash-4.2# docker push localhost:5000/test5 The push refers to a repository [localhost:5000/test5] (len: 1) Sending image list Put http://localhost:5000/v1/repositories/test5/: dial tcp connection refused below is the entry on /etc/default/docker bash-4.2# more /etc/default/docker DOCKER_OPTS=”–insecure-registry localhost:5000″ Can someone help […]

Timeout pushing image to nexus inside container docker

I have a fairly large image in docker, about 4gb and when I try to send it to my nexus that is in a docker container too, this exception appears. Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms          At org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout (IdleTimeout.java:166) [org.eclipse.jetty.io:9.3.7.v20160115]          At org.eclipse.jetty.io.IdleTimeout $ 1.run (IdleTimeout.java:50) [org.eclipse.jetty.io:9.3.7.v20160115]          At java.util.concurrent.Executors $ RunnableAdapter.call […]

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 <<registry_name>> And when i inspect using docker inspect <<task_id>> in message I got this “no suitable node […]

Which ca.crt does docker.sock use for docker pull?

When I do docker pull from inside a container that uses /var/run/docker.sock to run docker (docker inside docker), I got this error: FATA[0000] Error response from daemon: v1 ping attempt failed with error: Get https://registry.com:5000/v1/_ping: x509: certificate has expired or is not yet valid. If this private registry supports only HTTP or HTTPS with an […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.