Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker-registry]

The tag has no usage guidance.

1
vote
1answer
52 views

How to handle retention policies in GCP Container Registry

GCP Container Registry is built on top of GCP Cloud Storage and one can set quite complex retention policies there. However there's no such functionality in Container registry and as there's no ...
0
votes
0answers
14 views

private docker registry tls authentication with AWS ACM

I have a private docker registry, which uses the domain.crt and domain.key for tls authentication, but few days before keys expired. Now i want to us AWS ACM certificate for the TLS. Problem is that ...
0
votes
1answer
128 views

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be ...
0
votes
0answers
698 views

Gitlab Runner installation Docker in Docker

Alright, so I am trying to install, register and successfully use a Gitlab Runner as a container in docker with the executor docker, basically docker in docker. I had some problems with it but was ...
0
votes
0answers
40 views

How to get env vars in Docker Compose image to show up in registry?

I have a Docker Compose file. The Docker Compose file has an env_file: section in it. When I run the image locally, things work properly and the env vars populate as expected. However, when I run ...
0
votes
0answers
60 views

Docker CE not preserving port on getting Docker token

When connecting to our private Docker registry from Clients, requests that require a token are redirected to /v2/token to acquire a token. The problem is, these requests don't respect the port that ...
0
votes
1answer
503 views

Docker login from GitLab CI without possibility to access Docker registry password from .gitlab-ci.yaml?

I'm trying to set up a CI environment to build and push a Docker image for a project. The Docker registry I'm trying to push to is a private registry that requires me to log in. I can log in to the ...
0
votes
1answer
53 views

docker registry auth resource name

Hello I need to clarify docker daemon documentation on registry with Auth. I have found docker docs I also found godocs for docker registry. I searched the auth process, but I could not find anything ...
3
votes
1answer
1k views

Docker Private Registry - Deleted all images, but still showing in catalog

Following the official documentation (https://docs.docker.com/registry/spec/api/#deleting-an-image) I have been able to successfully delete an image. As expected, after deleting, the image can no ...
1
vote
0answers
45 views

Reauthorize Google Container Registry GCR to read from Github

When trying to create a new Build Trigger I get the following response, after selecting Github as a source: Google Cloud Platform was not authorized to list repositories. Its access was most likely ...
0
votes
3answers
1k views

GCP: No access to Container Registry from Compute Engine

I have a Docker image pushed to Google Container Registry at gcr.io/my-project/my-image:latest. In the same project, I created a Google Compute Engine instance based on COS (Container-Optimized OS) ...
1
vote
1answer
1k views

Remove docker image in registry by removing files/folders on server

I have the following problem with deleting an image or tag in docker-registry v2: I have a server that runs a docker-registry. I created an image and pushed it, that I now want to be gone. Now I want ...
0
votes
1answer
787 views

Docker registry frontend

I'm trying to setup a trivial private repository using the official registry image and kwk/docker-registry-frontend as a frontend. My docker run command for the registry docker run -d -p 127.0.0.1:...
0
votes
0answers
656 views

Docker Issue - exit status 34

I am facing "exit status 34" while creating docker service. please suggest what is the issue. Docker version : Docker version 17.09.1-ce, build 19e2cf6 Error Log :nsenter: failed to unshare ...
0
votes
1answer
345 views

gcloud docker — push request canceled while waiting for connection

Trying to push docker image to gcloud and started getting this error. gcloud docker -- push us.gcr.io/purple01-192114/purple_cloud:80only The push refers to repository [us.gcr.io/purple01-192114/...
0
votes
1answer
1k views

docker private registry - basic auth

I setup an insecure private registry using: [root@docker-regi ~]#docker run --entrypoint htpasswd registry:2 -Bbn myuser mypassword > /auth/htpasswd [root@docker-regi ~]#docker run -d -p 5000:...
4
votes
1answer
3k views

Easy way to remove a tag from a private Docker registry?

I have a private Docker registry, v2.6.0, containing several tagged versions on an image: foo/bar:1 foo/bar:1_keep (same image as 1) foo/bar:2 foo/bar:3 foo/bar:latest (same image as 3) I want ...
0
votes
1answer
455 views

docker - private registry with front webUI (not taking in images)

I spawn up a new Docker registry and front-end webUI for it using: [root@centos-reg ~]# docker run --name registry -d -p 5000:5000 -v /var/docker-reg:/docker-registry-storage lukaspustina/registry-...
1
vote
1answer
374 views

Can I reuse a HTTPS certificate from letsencrypt on my docker private registry? [closed]

I have an HAProxy server that's exposed on the internet. I've used a subdomain such as registry.mydomain.com to create letsencrypt certificates, enabling encrypted connections. Now, I want to use ...
0
votes
1answer
61 views

Docker registery show images

I installed docker registry according to this Document now i have this images : registry latest 9d0c4eabab4d 2 weeks ago 33.2 MB nginx 1.9 ...
0
votes
1answer
149 views

Openshift import-image fails to pull because of certification errors, however docker does

i have created a TLS private docker registry. I have updated the ca-trust in the machine that I want to pull from and it works, curl works without the -k parameter, docker can pull etc. However, the ...
0
votes
0answers
72 views

openshift cannot create imagestreammappings in project, error message in private registry.

when I push to the registry, I get a 500 internal error message. Openshift registry logs are: time="2017-03-01T07:46:47.970130059Z" level=error msg="response completed with error" err.code=...
1
vote
0answers
163 views

How do I push to a Docker registry mount on a subpath?

If I have a registry mounted at https://x.y.z.com/registry, how must I tag my images? Docker seems to insist on prepending v2/ to any path.
2
votes
1answer
716 views

nomad shows job as dead

I am new to nomad. We are using nomad in production along with docker, consul, vault, ansible. When I run a nomad job from my local machine, Job registers successfully but show status as dead. ...
3
votes
0answers
573 views

How to estimate storage and traffic used for docker images in AWS ECR?

I'm trying to esimate monthly cost of using AWS ECR. It will consist of: outgoing traffic cost (downloading images) and storage cost (storing images in ECR). Let's assume, that: We are building some ...
1
vote
2answers
3k views

Docker private registry, docker push is forbidden

I setup a private registry, which run fine. Docker 1.10. I choose to change the host, and recreate the certificate. All run fine on my server, but on my customer server I can't push an image to the ...
3
votes
1answer
526 views

Make docker, registry cache container Use http proxy

I'm trying to setup a caching local registry for docker using official registry:latest Image. I want to make this container use organizations http proxy for internet access when trying to pull from ...
2
votes
1answer
35 views

Showing dependency relationships in Docker Registry

Summary How can we graph or otherwise get an overview of Docker image dependency relationships in the Docker registry? Details We're using a private docker registry instance to locally host some ...
1
vote
1answer
25 views

Can I not just pack up a Docker image and bring it over to my server?

I'm well aware of how you deploy your own Docker registry, but I think in my case this might be an overkill. I was wondering if there is a way of packing up an image I build on one machine, and ...
0
votes
1answer
733 views

Private Docker Registry (with TLS certificate)

I'm trying to setup a private docker registry based on the documentation of https://docs.docker.com/registry/deploying/#running-a-domain-registry. I'm using StartSSL as certificate issuer, downloaded ...
2
votes
1answer
459 views

docker container not writing to mounted volume on host

I am having issue writing to the mounted volume on host filesystem from docker container Is there some special thing i have to do when building the container to make the container write data to the ...
0
votes
1answer
122 views

AWS ECR allow pull for all?

I've uploaded a few docker containers to AWS ECR. I'm trying to Docker Pull without any authentication, which doesn't seem to work. I've read that there's a way to authenticate with a token for ...
0
votes
1answer
754 views

Why does docker pull from private Docker registry using nginx SSL reverse proxy work on registry host, but not remote host?

Why does docker pull from a private Docker registry using an nginx SSL reverse proxy work on registry host, but not remote host? Successful docker pull From registry host: admin@vps58622:~/docker-...
0
votes
1answer
849 views

OpenShift node not connecting to image registry

I configured openshift and everything is working properly on host where docker-register is started. When i added new node and i try to deploy containers on it i have such error in logs: E0519 10:51:...
1
vote
1answer
406 views

Docker container log retention

We are running Century Link's Watchtower container. This allows us to have a watch a docker registry and download new images when they are created. When watchtower finds a new image it runs docker rmi ...
1
vote
1answer
1k views

gcloud docker push failing “unable to ping registry endpoint https://gcr.io/v0/”

I am trying to set-up Google Container Engine, I am trying to push my first Docker Container into GCE Repository, however I am getting following errors: oash-3.2$ gcloud docker push gcr.io/prlr-dev-...
8
votes
3answers
27k views

remove tagged Docker image from private registry

How can I delete a mistakenly added tag from an image in a private Docker registry? The option -rmi doesn't seem to work for remote images in Docker 1.9.1. user@ubuntu-user:~$ docker --version ...
1
vote
1answer
2k views

Docker registry with TLS - using a .pem file

In this docker guide https://docs.docker.com/registry/deploying/ is the example for using crt and key: docker run -d -p 5000:5000 --restart=always --name registry \ -v pwd/certs:/certs \ -e ...
0
votes
1answer
92 views

How let user manage web applications using docker?

For web hosting, my company is looking to use docker containers for each web application with a reverse proxy as front-end. It works but we are looking for a way to let our users manage their own ...
2
votes
2answers
565 views

Ansible template or lineinfile for Docker defaults?

We're hosting our own internal Docker registry and using Ansible to configure the Jenkins slave that will build/upload the containers. Because our registery is non-SSL, we have to add: "$DOCKER_OPTS -...
3
votes
1answer
91 views

Ensure docker pulls most current image

Assuming I have registered a repo at Docker Hub, called MyRepo. Assuming I am working on a Docker image called MyImage. Assuming I have configured Docker Hub to build images from Dockerfiles ...
9
votes
3answers
5k views

Automatically update Docker containers using webhooks

I have created a Github repo and a Docker repo. Both work together very well: when I push a new version of Dockerfile to Github, a new image is automatically built inside the Docker repo. Now, I'd ...
3
votes
0answers
751 views

How do you get descriptions into a docker image on a private registry?

I've looked at the build command, the push command, and various registry API calls, but none of these have a feature which to apply a description. Descriptions seem to be implied from the remote API::...