Questions tagged [docker-registry]

Docker Registry is a service which you can push Docker images to for storage and sharing. It is also the tool's name.

Docker registry services are provided as hosted or self-hosted services by various vendors:

Self-hosted:

Hosted

All of them comply either to v1 or v2 of the Docker registry API specification.

Docker Registry tool is at https://github.com/docker/docker-registry.

1698 questions
91
votes
7 answers

docker login fails on a server with no X11 installed

I am trying to deploy a docker configuration with images on a private docker registry. Now, every time I execute docker login registry.example.com, I get the following error message: error getting credentials - err: exit status 1, out: Cannot…
msrd0
  • 7,816
  • 9
  • 47
  • 82
91
votes
5 answers

How to pass ARG value to ENTRYPOINT?

Docker 1.9 allows to pass arguments to a dockerfile. See link: https://docs.docker.com/engine/reference/builder/#arg How can i pass the same arugments within ENTRYPOINT Instruction?? My dockerfile has ARG $Version=3.1 ENTRYPOINT…
meallhour
  • 13,921
  • 21
  • 60
  • 117
89
votes
9 answers

Can not pull/push images after update docker to 1.12

The private registry was worked well based on docker 1.10.3,but I can not pull/push images after the docker updated to 1.12.0. I had modified the /etc/sysconfig/docker as: OPTIONS='--selinux-enabled=true…
yuxiaoyu
  • 893
  • 1
  • 7
  • 8
88
votes
10 answers

How to search images from private 1.0 registry in docker?

I made a private registry,curl xx.xx.xx.xx:5000 is ok. I push an image into docker private registry by doing: docker push xx.xx.xx.xx:5000/centos it return: http://xx.xx.xx.xx:5000/v1/repositories/centos/tags/latest the question is how to get all…
edwardsbean
  • 3,619
  • 5
  • 21
  • 25
84
votes
15 answers

How to get remote access to a private docker-registry?

I'm trying to setup a private docker registry using the image taken from: https://github.com/docker/docker-registry Just by running: docker run -p 5000:5000 registry I can pull/push from/to this repository only from localhost, but if i try to access…
Ofer Eliassaf
  • 2,870
  • 1
  • 17
  • 22
80
votes
3 answers

ECS/ECR: is common practice to have one repository per image (and associated versions)?

So I'm new to ecs/ecr, but it seems like I have to name (with a tag) the image after the repository name in order to push that image to the repository. So my question is: Is it intended that the user (me) would ONLY be pushing a single image and any…
aphexlog
  • 1,503
  • 3
  • 16
  • 43
79
votes
9 answers

Docker: How to authenticate for docker push?

Hi i'm trying docker push [docker-simple-httpserver]# docker push myregistry/simplehttpserver:latest The push refers to a repository [myregistry/simplehttpserver] (len: 1) Sending image list FATA[0000] Error: Status 403 trying to push repository…
Jas
  • 14,493
  • 27
  • 97
  • 148
75
votes
13 answers

kubernetes cannot pull local image

I am using kubernetes on a single machine for testing, I have built a custom image from the nginx docker image, but when I try to use the image in kubernetes I get an image pull error????? MY POD YAML kind: Pod apiVersion: v1 metadata: name:…
ginda
  • 871
  • 1
  • 7
  • 3
72
votes
9 answers

An image does not exist locally with the tag: while pushing image to local registry

I am trying to push an image to a local registry running in minikube but get the below error: Successfully built ee84225eb459 Successfully tagged user/apiserver:0.0.1 $ docker push localhost:5000/user/apiserver:0.0.1 The push refers to a…
Amit Shah
  • 751
  • 1
  • 5
  • 7
68
votes
3 answers

Difference between 'image' and 'build' within docker compose

Please help me understand the difference between 'image' and 'build' within docker compose
meallhour
  • 13,921
  • 21
  • 60
  • 117
67
votes
8 answers

Create AWS ECR repository if it doesn't exist

How can I create an AWS ECR repository if it doesn't already exist?
Ysak
  • 2,601
  • 6
  • 29
  • 53
65
votes
6 answers

Docker public registry push fails: Repository does not exist

I'm trying to push my docker image up into the public docker registry: $ docker login Username (binarybana): WARNING: login credentials saved in /home/jknight/.dockercfg. Login Succeeded $ docker images REPOSITORY TAG …
JKnight
  • 1,996
  • 2
  • 14
  • 23
62
votes
6 answers

ERROR: In file './docker-compose.yml', service 'volumes' must be a mapping not an array

My docker-compose.yml looks like the below and I am trying to follow the compose file from the docker registry documentation here. When i run docker-compose up I get the below error. ERROR: In file './docker-compose.yml', service 'volumes' must be…
Sudarshan
  • 8,574
  • 11
  • 52
  • 74
55
votes
2 answers

How to publish docker images to docker hub from gitlab-ci

Gitlab provides a .gitlab-ci.yml template for building and publishing images to its own registry (click "new file" in one of your project, select .gitlab-ci.yml and docker). The file looks like this and it works out of the box :) # This file is a…
GabLeRoux
  • 16,715
  • 16
  • 63
  • 81
52
votes
3 answers

Docker parallel operations limit

Is there a limit to the number of parallel Docker push/pulls you can do? E.g. if you thread Docker pull / push commands such that they are pulling/pushing different images at the same time what would be the upper limit to the number of…
rmoh21
  • 1,405
  • 6
  • 19
  • 36