Tag: docker registry

Docker log in command does not work

I have installed boot2docker on on my windows machine and have created a repository on docker hub. I am trying to log in with the following command in the linux shell: docker login –username=myusername –password=mypassword –email=myemail@gmail.com But I am getting this in the shell: The password field appears asking me to enter my password, but […]

Listing the tags of a docker image on a Docker hub through the HTTP API

I would like to list the tags of a docker image official docker hub through its HTTP interface but I am a bit confused. As there seems to two versions of them: https://docs.docker.com/v1.6/reference/api/registry_api/ https://docs.docker.com/v1.6/registry/spec/api/ I managed to get them through sending a GET request to this endpoint: https://index.docker.io/v1/repositories/{my-namespace}/{my-repository}/tags along with basic auth credentials. I am […]

Is there a way to download docker hub images whitout “docker pull” for a machine with out Internet access?

I want to download some images for a computer that has not internet. My computer that have internet has NO DOCKER installed (old kernel) so it is not possible to use docker command to pull, save and export it to the other machine. I’m looking for a way to download a docker image (like via […]

Problems setting up artifactory as a docker registry

im currently trying to setup a private Docker Registry in Artifacory (v4.7.4). I’ve setup a local,remote and virtual docker Repository, added Apache as a Reverse Proxy. Added a DNS Entry for the virtual “docker” Repo. Reverse Proxy is working but if i try something like: docker pull docker.my.company.com/ubuntu:16.04 I’m getting: https://docker.my.company.com/v1/_ping: x509: certificate is valid […]

Pushing files into private registry in Docker

I have setup the private registry using docker run -t -i -p 5000:5000 registry and it is accessible from 192.168.59.103:5000 (I am using boot2docker). Now I have already pulled an image tutum/tomcat and when I try to push the image (docker push 192.168.59.103:5000/tomcat) into the registry after tagging it as 192.168.59.103:5000/tomcat I face the following […]

How to create read-only user in the Docker Registry v2?

I’d like to have 2 users in Docker Registry v2: user1 – read-write (pull-push) user2 – read-only (pull only) How to create read-only user ?

docker push error “denied: requested access to the resource is denied”

This error occurs when trying to push an image to the public repository on Docker Hub. There have been no issues with other registries I have tried. I have looked at numerous sites, blogs including StackOverflow and there is still no clear answer. You can try to replicate this issue as follows. As shown in […]

Docker Swarm and self-signed Docker Registry

Does Docker Swarm support usage of Docker Registry with self-signed certificate? I’ve created my cluster based on step from official Docker documentation, it uses swarm master/nodes running inside containers. It works well, but as soon as I try to login to my Docker Registry I’m getting error message: $ docker -H :4000 login https://…:443 … […]

Multiple storage drivers panic in private registry

I’m trying to deploy an S3-backed private docker registry and I’m getting an error when I try to start the registry container. My docker-compose.yml looks like this: registry: restart: always image: registry:2 ports: – 5000:5000 environment: REGISTRY_STORAGE_S3_ACCESSKEY: myKey REGISTRY_STORAGE_S3_SECRETKEY: mySecret REGISTRY_STORAGE_S3_BUCKET: docker.registry.bucket REGISTRY_STORAGE_S3_ROOTDIRECTORY: registry/data volumes: – /home/docker/certs:/certs And when I try to run sudo docker-compose […]

Unable to push image to a docker registry configured as proxy cache

I followed this guide to setup a Docker v2 Registry acting as a local proxy cache for Docker Hub images. My Docker daemon is configured with both –insecure-registry and –registry-mirror options pointing to the same registry instance. When pulling images it works correctly by caching them to the local store. The problem is that when […]

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