Tag: docker registry

Can’t push to docker hub (authentication required)

I’ve just installed Docker on Windows 10 few days ago. Seems I am able to login to my Docker Hub repo (by entering winpty docker login in my git-bash on windows). It says “Login succeded”. But after I try to push (docker push myrepo/myproject:sometag) it says finally “authentication required”. I’ve googled and researched yesterday whole […]

docker pull using puppet not working

docker pull www.alm-docker-registry.com:8090/test… is working but when i am trying to do the same thing using puppet script, its showing error. Notice: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: 2015/01/30 11:11:11 Authentication is required. Error: /usr/bin/docker pull www.alm-docker-registry.com:8090/test… returned 1 instead of one of [0] Error: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: change from notrun to 0 failed: /usr/bin/docker pull www.alm-docker-registry.com:8090/test… returned […]

docker push to a private repository

I am trying to push an image to a private docker registry. The error that I receive is: Error: Status 404 trying to push repository : “” I issued following commands to create and push image: docker tag <your-project-name>/<your-image-name> <docker-registry-machine>/<your-project-name>/<your-image-name> docker push <docker-registry-machine>/<your-project-name>/<your-image-name> The error received is not informative, looks something is not found. Are […]

How to setup private docker registry securely?

I am able to setup private docker registry insecurely and able to pull and push from remote hosts. However, i would like to change it to using secure connection. I have followed the instruction at https://docs.docker.com/articles/https/ but i am confused which steps to be followed at docker host running registry and which are to be […]

docker: push image not work

I setup a private docker registry in my one server(let’s call it server-1). I can push and pull image in this server successfully. server-1: Docker version 1.7.1 kuankr-staging@kuankrstaging-OptiPlex-390:~$ docker push docker.agutong.com:5000/registry The push refers to a repository [docker.agutong.com:5000/registry] (len: 1) 2f1ef7702586: Image already exists 97cf055388e0: Image successfully pushed 8703b7c675b1: Image successfully pushed 4f780ec6d926: Image successfully […]

Docker-Distribution: cannot pull from different machine (FATA[0000] Error: image sample-web-app:latest not found)

I’ve installed a private docker repository with the docker distribution registry (not the old docker-registry). I can query the api from another machine and see the my pushed image, but I can’t pull it. On machine A I have installed a docker distribution container: sudo docker run –name=registry –restart=always -d -p 5000:5000 registry:2.0 I’ve created […]

export the IBM Docker container images in the registry

My aim is to show the portability of docker, and thus being able to export docker container images from the registry/repository to an external docker user. I can perfectly pull the image from the machine with ICE CLI installed, and authentication (ice login passed), but if I use an other machine, the command docker pull […]

Docker Registry incorrectly claims an expired CA cert

I followed the Docker Registry installation docs precisely, and have a registry running on a remote Ubuntu VM. On that VM, the Docker container is running with the following command: docker run -d -p 5000:5000 –restart=always –name registry \ -v `pwd`/auth:/auth \ -e “REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm” \ -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \ -v `pwd`/certs:/certs \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry.crt \ […]

Unable to login into private docker registry (v2.0)

I am trying to setup a private Docker Registry using the standard docker registry image and a Docker Registry Reverse Proxy (https://registry.hub.docker.com/u/marvambass/nginx-registry-proxy/) The goal is to secure the registry using SSL (using self-signed ssl cert) and username/password authentication. This all seems to go well, when i try to navigate via browser to private docker registry […]

Docker –add-host flags not working for registry 2.0 webhooks notifications

I had to connect to the Docker host (where my application is running at 8080) from within my registry container. To enable this, i passed the Docker host’s IP Address to the container using the “–add-host” flag. Followed the github issue and Command line reference. I enabled my application endpoint:8080 in below config.yml to send […]

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