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
0
votes
0 answers

How did my Artifactory generic and docker repos suddenly change type/version?

We have been running Artifactory (currently version 6.9.0) in EC2 for months now with no problems. This was originally a licensed instance of Enterprise Artifactory that we let lapse (intentionally). Last week we started getting a storage warning…
Shane O.
  • 13
  • 4
0
votes
1 answer

Pull private registry image with kubernetes-helm app without using imagepullsecret

I am using minikube to develop my Kubernetes application. I have a private azure registry where my images are saved. Whenever I start the app, k8s start to pull an image. It throws the following error Failed to pull image…
aryan
  • 163
  • 1
  • 1
  • 11
0
votes
1 answer

How to `docker login` to OpenShift Docker registry

I am using Redhat OpenShift 4.4.17 deployed in Azure. I logged in to OpenShift as administrator. I have a Docker image locally, now I need to push my docker image to OpenShift Docker registry. I am using below command docker login -u -p…
0
votes
2 answers

How to go inside Docker container with different user?

I've docker container running on a machine, in order to go inside the container I used command - docker exec -it bash but when I run whoami here it returns root But I want to perform actions with different user hence to login inside…
Alpha
  • 13,320
  • 27
  • 96
  • 163
0
votes
1 answer

How do I upload a docker image to my organization

I have created a Organization in dockerhub. I need to upload my image into my organization where my team members can see and use it. How to upload my image into my organization? anyone kindly help me on this
0
votes
1 answer

Is your local collection of docker images a registry?

I have been reading about docker registries and know that I can spin up a registry image. My question is: By default when running docker I have images stored locally. Does this not mean that I have a docker registry? Or is that considered something…
Andy Cribbens
  • 1,370
  • 2
  • 11
  • 22
0
votes
1 answer

Publishing image with docker from gitlab ci

I am trying to create my war artifact with gradle and push it to my remote image repo. But the problem is it I am getting COPY failed: stat /var/lib/docker/tmp/docker-builder756634785/build/libs/myartifact.war: no such file or directory. So, It…
0
votes
2 answers

Jenkins - docker credentials fail

Using Jenkins 2.249.1 on ubuntu 18.04, Docker version 19.03.13 I have created dkr-pwd as secret text: withCredentials([string(credentialsId: 'dkr-pwd', variable: 'dkr-pwd')]) { sh "docker login -u my-id -p {dkr-pwd}" } Also…
Sam-T
  • 1,877
  • 6
  • 23
  • 51
0
votes
2 answers

List images in Google Container Registry in Java program

We wanted to list images and tags which names start with certain string. So far, we explored a few java lib (docker-java and spotify ones) and did quite amount of research, but still couldn't find a way out... docker-java: 'com.github.docker-java',…
0
votes
0 answers

Restrict User access to Docker Registry for docker push operation

We have a private docker registry and we need to allow all users to perform docker pull and only allow few users like Jenkins to perform docker push. Registry is a created from docker registry image on our local VM, so its available to all user on…
Sanjay M. P.
  • 919
  • 1
  • 16
  • 33
0
votes
1 answer

Login to private registry from inside cloud-builders/docker step fails - certificate signed by unknown authority

I need to authenticate to a private registry with a self signed certificate during a Cloud Build step. If I directly execute a docker login, for obvious reasons, this fails with an error: x509: certificate signed by unknown authority - all…
0
votes
1 answer

is there a way to push new tag to a registry only when there is new changes in the image?

I'm working on CI tool to build new docker images and then push them to our registry in AWS ECR. However, I just noticed that I have built an image several times an image that didn't change. This means that I have created and push several tags for…
juanp_1982
  • 917
  • 2
  • 16
  • 37
0
votes
1 answer

Gitlab vs Registry in docker container behind proxy ERROR

I'm trying to enable gitlab registry running in docker behing nginx proxy on centos lxd container :) Nginx's configuration on centos server { listen *:80; server_name registry.site.name; return 301 https://$server_name$request_uri; …
Sandzhaj
  • 53
  • 6
0
votes
1 answer

Duplicate images on docker-compose build. How to properly push two services of docker-compose.yml to Docker hub registry?

I have a docker-compose.yml defined as follows with two services (the database and the app): version: '3' services: db: build: . image: postgres environment: - POSTGRES_DB=postgres - POSTGRES_USER=(adminname) -…
0
votes
0 answers

How to copy all the artifacts from source to destination in Multi Stage Docker File

I have two stages as follow: Stage # 1 FROM mongo:latest AS mongodb ENV MONGO_INITDB_ROOT_USERNAME root ENV MONGO_INITDB_ROOT_PASSWORD root ENV MONGO_INITDB_DATABASE admin ADD mongo-init.js /docker-entrypoint-initdb.d/ Stage #…
Afnan Ahmad
  • 2,492
  • 4
  • 24
  • 44