Tag: docker registry

Update of Docker intermediate images

Let’s suppose I build a MyApp Docker based on Tomcat 8 (Dockerfile FROM tomcat:8) from Docker Hub. The Tomcat 8 Docker is itself based on Java 7, which currently is 7.0.65. Eventually, the Java 7 Docker (java:7 tag) gets updated to version 7.0.100 for example. What happens if I re-build again my MyApp on a […]

How do I Configure a Docker Registry V2 with Apache and a CA certificate?

I have read all the references here and out on a google search and have been unable to get my registry accessible using a CA signed certificate. Here is what I have: Apache proxy (have tried various configs, none of which have any effect to docker): listen dockerrepo.xxxxx.xxxxx.xxxxx.com:5000 https ServerName dockerrepo.xxxxx.xxxxx.xxxxx.com SSLEngine on SSLCertificateFile /etc/httpd/certs/DockerRepoCAKeyCert.crt […]

Add Docker registry certificate to Docker application on my Mac

I have a Docker secure registry setup and I would like to push/pull images from my Mac. I have installed Docker Quickstart Terminal in Mac and the only way I could authenticate to the registry is 1. Do a docker-machine ssh default 2. Drop the CRT file in /etc/docker/certs.d/abc-registry.com/ca.crt 3. sudo /etc/init.d/docker restart If I […]

Docker : Error pulling image (latest) from docker.io

I pushed a docker image from an older dev machine, and now I can’t push or pull to that repo. The server errors with Invalid parent ID. And my dev box errors with Error pulling image (latest) from docker.io/repo/appname, Driver aufs failed to create image rootfs {ID}: open /mnt/sda1/var/lib/docker/aufs/layers/{ID}: no such file or directory I’m […]

Rancher getting 404 responses form private registry URL's

I have rancher set up. I have a private registry using a self signed certificate setup. I followed the guide at http://docs.rancher.com/rancher/configuration/registries/ to set up registry with in rancher. I have also created an ami with my self signed certificate installed. I’m using this ami to create my new hosts. I have a working docker […]

docker registry fail to start up that prompts file not found which file does exist

I’m trying to deploy docker registry server.I do it according to the official documentation https://docs.docker.com/registry/deploying/ I have generated certificate and key, and start the registry according to document. docker run -d -p 5000:5000 –restart=always –name registry -v pwd/certs:/certs -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt -e REGISTRY_HTTP_TLS_KEY=/certs/domain.key registry:2 When I saw the log, time=”2016-04-08T01:24:54Z” level=fatal msg=”open /certs/domain.crt: no such file […]

Is there a simple way to configure Docker Private Registry 2.0 with LDAP?

I’m trying to follow that instruction: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04 on my RHEL7 (3.10 kernel) machine. But could it be a faster and easiest way to connect to LDAP? I have Private registry 2.0 up and running with TLS self-signed certificate. I’m able to push and pull images from outside servers, but still looking into fast options to […]

How to backup root-ca-only from UCP replica

I am trying to backup UCP master root-ca-only from UCP replica server: docker run –rm -i –name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.0 backup –root-ca-only –id 4G26:AMCX:67XR:TIKD:CXYS:3PKD:5O66:SKZM:T22Q:OYYL:BV2H:QJ3D –url https://ucp-master-url > backup.tar It is not working. Please suggest the correct way.

How do I pull a local insecure registry image in a rancher service?

I have two VMs (OS ubuntu desktop), one is rancher server ( and other machine has docker registry ( using portus. The configurations are all correct, I add a registry into the rancher with proper credentials. Name Hostname mydocker-registry From the rancher server, I can do a docker login to the docker registry, and […]

docker insecure registry daemon not using flag

I have an insecure registry running at testcluster.myurl.name:18079 a docker login testcluster.myurl.name:18079 fails with no valid certificate found and suggests to specify the –insecure-registry flag for the daemon. However, I already specified the flag (on Ubuntu) in /etc/default/docker my DOCKER_OPTS=”–dns –dns –insecure-registry testcluster.myurl.name:18079″ are set and the daemon was restarted. Still the problem […]

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