Tag: docker registry

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 […]

How to pull new docker images to openshift cluster nodes from remote private registry?

All steps specified in https://blog.openshift.com/remotely-push-pull-container-images-openshift/ (and other sources) worked perfectly on master, but it does not help me to pull from nodes. Details: Logged in on master and two nodes to registry: docker login https://my.registry:5000 Created new secret on master with: oc secrets new my.registry .dockerconfigjson=/root/.docker/config.json (can’t do the same on nodes, because they do […]

GKE: Docker login alway succeeds, but push does not work even with valid credentials

I have a GKE cluster running in GCE, I was able to build + tag an image derived from ubuntu:16.04: / # docker images REPOSITORY TAG IMAGE ID CREATED SIZE eu.gcr.io/my-project/ubuntu-gcloud latest a723e43228ae 7 minutes ago 347MB ubuntu 16.04 ebcd9d4fca80 7 days ago 118MB First I try to log in to registry (as documented in […]

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