Questions tagged [docker-registry]
The docker-registry tag has no usage guidance.
44
questions
0
votes
0
answers
5
views
deploy Harbor on Kubernetes via helm
I'm facing an issue with accessing the Harbor after deploying it on Kubernetes using Helm.
Here are the steps I followed:
Download Harbor helm chart:
helm repo add harbor https://helm.goharbor.io ...
0
votes
1
answer
22
views
How to efficiently copy multiple Docker images between two air gapped repositories?
I need to efficiently copy Docker images between two air gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a ...
0
votes
0
answers
36
views
MicroK8s does not authenticate with gitlab private registry
I have an instance of MicroK8s, I am currently migrating my applications. But I can't authenticate to Gitlab's private registry.
About my environment:
MicroK8s
Gitlab (with registry working securely)
...
0
votes
1
answer
81
views
What is the URL I provide to docker or podman to pull down a GitLab registry image?
When I am at a repo's container registry, I can see this,
However it's not clear ohw that URL works, the URL provided is
gitlab-org/gitlab-runner/alpine-no-root
But I can't run
podman pull gitlab-...
0
votes
1
answer
202
views
AWX Failed to pull image on a private registry
Context:
I got a K8s cluster where I setup AWX using the official Helm install. On this cluster, there I also setup a Sonatype Nexus repository with a docker(hosted) private registry configured in ...
1
vote
0
answers
134
views
How to set up registry in a multi-host microk8s cluster?
I used microk8s to set up a kubernetes cluster with three virtualbox machines in it. Everything seems to be fine, but the microk8s registry does not seem to work anymore. It used to work on a single ...
1
vote
0
answers
22
views
How to run cluster local registry?
I want to set up a cluster local docker registry so that I can push/pull images very quickly without some of the policy restrictions of my corporate docker registry (for example, all images in that ...
0
votes
0
answers
438
views
Unsecure container registry declaration in Gitlab CI/CD
I have the following .gitlab-ci.yml file :
stages:
- publish
- deploy
variables:
TAG_LATEST: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:latest
TAG_COMMIT: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME:$...
0
votes
1
answer
261
views
Unable to pull image from a private Docker registry with Let's Encrypt certificate in Kubernetes
I have set up a private Docker registry on my Kubernetes cluster (k3s) running on a Raspberry Pi 4. I have secured the registry with a Let's Encrypt certificate, and I can confirm that the certificate ...
0
votes
3
answers
239
views
Azure Devops pipeline not listing artifact created by it
I am building and pushing Docker images to my Azure Container Registry from Azure DevOps using the azure-pipelines.yml file below.
This works great except that there doesn't seem to be any relation ...
0
votes
0
answers
603
views
K3s pull images from Docker Pro private repository
I'm attempting to use containers published to a private Docker Pro registry with K3s.
I've configured /etc/rancher/k3s/registries.yaml
mirrors:
docker.io:
endpoint:
- "...
4
votes
1
answer
1k
views
Exporting multi-arch Docker image from local registry to .tar file
I have a multi-arch build that is pushing to a local registry I have running:
docker buildx build --platform linux/amd64,linux/arm64 --push -t localhost:5000/myimage:latest
I need to export this ...
3
votes
0
answers
963
views
How to configure registries.yaml to point to several Harbor proxy cache registry?
I have configured a Harbor (with SSL and FQDN: harbor.example.com) as a proxy cache for several docker registries (docker.io, quay.io and k8s.gcr.io). I can pull any images without any problem from ...
1
vote
1
answer
2k
views
gitlab container registry: how to test that it's set up and working?
I'm trying to push for the first time to a gitlab project container registry.
I am not a gitlab administrator so I can't change global settings. But as far as my project is concerned I've made sure ...
0
votes
1
answer
3k
views
gitlab project registry - docker push fails with invalid reference format error message
I have create a personal access token for my project. in my gitlab-ci.yml I'm trying to create a docker image and then save it in my project's repository.
I'm able to login - I see an explicit ...
0
votes
1
answer
446
views
While pulling windows docker image from private registry, Docker trying to download some layers from internet
I created a Windows based docker image (asp.net web project) and pushed it to my private image registry.
when i pull the image from another windows server (offline and there is not a proxy), i'm ...
0
votes
1
answer
2k
views
Kubernetes Failing with Self Signed Docker Registry Certificate
We have a private Docker registry and we're attempting to get a our Kubernetes cluster to pull images from it, but it's failing with the following error:
Type Reason Age From ...
1
vote
2
answers
829
views
Is it possible to make the minikube VM use the VPN configuration from the host machine?
I am currently writing a script that deploys a number of applications to a local minikube cluster for development purposes. This script is working great on Linux, but then I tried it on Mac OSX.
When ...
2
votes
1
answer
736
views
Is there a way to push tarred repository to dockerhub without loading on local
I have a tarred docker repository created by using docker save.
I want to push this tar to a registry, say dockerhub. Is there a way we can do that without loading on local docker?
1
vote
1
answer
123
views
How to pin public root key when downloading an image with docker pull (Docker Content Trust)?
How can I execute docker pull (with Docker Content Trust enabled) such that it fails if the image doesn't have a valid signature using the private key corresponding to (or subordinate to) the public ...
0
votes
1
answer
81
views
Untracable glassfish docker container image or clean installation?
For a customer I need to create a glassfish container, containing the glassfish 5.0 release.
I have been looking for standard glassfish images on docker hub, and other places, but can't manage to find ...
0
votes
1
answer
354
views
Jenkins Helm Chart - kubernetes-plugin pulling image from a private gcr
I am failing to pull images from a private gcr repo through helm jenkins on a private k8s repo. I am getting:
rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have ...
0
votes
2
answers
1k
views
unable to login using docker registry on jenkins
I have a Jenkinsfile that I need to login to ECR. this is the relevant section
script {
docker.withRegistry('https://01234.dkr.ecr.ap-southeast-1.amazonaws.com/', 'awsId'){
...
2
votes
1
answer
2k
views
Referencing locally built Docker images in Terraform
Is it possible to use docker images in Terraform that are not hosted in a registry but in the local Docker storage?
I'd like to have a resource like the following where no pull is performed on the ...
1
vote
1
answer
133
views
creating private registry, id and password with -Bbn option
Any one knows what does Bbn stands for in the below command
I am aware that,If the bbn option is not provided its not possible to write in the htpasswd file,but what is the meaning of it
docker run -...
1
vote
2
answers
45
views
Docker preserve images policy
Can I configure Docker in a such way that it will store only certain amount of tags for the given image e.g. docker images
REPOSITORY TAG ...
2
votes
1
answer
93
views
Are there Docker Hub comparable public Docker image repositories?
Historically, you can download official community software from a distributed mirror network.
Even for Java Maven, there are two sites globally.
But what is about Docker Hub? What if Docker, Inc. ...
0
votes
2
answers
2k
views
Issue pushing to ECR using Jenkins
I'm trying to push an image to ECR via a Jenkins pipeline. Currently I have the ECR plugin installed, and a role assigned to my EC2 instance that allows ECR access.
I am using correct credentials ...
1
vote
1
answer
543
views
stop pulling a docker image from the public docker-hub registry
Is there any way to stop pulling a docker image from the public docker-hub registry while building image locally.
Note: We are maintaining a private registry that contains all the images. Only and ...
3
votes
1
answer
534
views
How to enable tag immutability in quay.io?
Elastic Container Registry (ECR) for example supports Tag Immutability (TI). TI implies that docker tags cannot be overwritten if they exist in a docker-registry.
The settings of the organization and ...
0
votes
1
answer
490
views
Jenkinsfile: Pull image from registry endpoint A, push built image to registry endpoint B
I have two endpoints for my registry (Nexus OSS):
Endpoint 10500 to pull images from.
And Endpoint 10501 to push images to.
(I can go into detail what the idea is and why we think Nexus requires ...
1
vote
1
answer
153
views
What docker command could be issued to check whether a certain local docker image resides in a docker registry? [duplicate]
The docker help was consulted:
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "/home/ben/....
1
vote
2
answers
24
views
docker hub repo [closed]
I have created a repo on my docker hub account. While trying to download it it shows errors. I have tried the following commands:
docker id saurabhgore65
docker pull <saurabhgore65>/subash
...
6
votes
1
answer
12k
views
How to setup Docker mirror proxy Repository in Nexus Repository ManagerOSS 3.19.1-01?
So,
We are going to setup local proxy repository. Which directs to further docker hub and our another remote Docker Hosted repository hosted on different location.Which is requested through Docker(...
4
votes
2
answers
2k
views
Access private DockerHub repo in Docker Swarm
I am trying to deploy a docker swarm using Digital Ocean's docker-machine driver.
This is currently a single node that contains several public DockerHub images, and one private.
I am having ...
1
vote
1
answer
343
views
CI pipelines, concurrency and build results possibly overwriting each-other
I'm currently using gitlab-ci to generate docker images for some repositories, however i dont feel as though this solution is as reliable as it should be.
I can forsee a issue with multiple builds ...
1
vote
2
answers
1k
views
How to clean up old images in docker registry with jenkins
I have a jenkins multi branch project, that builds on every commit and pushes the image to our private registry:
docker-reg:5000/<project>/<branch>:latest
docker-reg:5000/<project>/&...
2
votes
2
answers
2k
views
Gitlab CI/CD fails to build docker image
I have built a custom base image from alpine and use it as the base for ruby services that we develop.
FROM ruby:2.4.2-alpine
...
I use Gitlab and Gitlab's docker registry along with it. Each ...
0
votes
1
answer
2k
views
Failed to start Container after reboot
I am hosting an own registry.
After rebooting the Server my registry container is unable to start.
I used this command to start the registry
docker run -d -p 5000:5000 --name registry -v /var/lib/...
0
votes
1
answer
1k
views
Increase Kubernetes Nginx Ingress limits for large images in Docker registry
When pushing images to a self hosted Docker registry installed using their official helm chart, this works for some images. But for one image, I'm not able to push two layers. Docker retry it several ...
0
votes
2
answers
102
views
Host a docker registry native
I want to host my own docker-registry server to be independent from docker-hub.
I want to run it native on my server, but I can only find documentations, which are using running it inside a container.
...
5
votes
2
answers
9k
views
Update ECS task definition with new image from ECR
I have an ECS cluster/service/task definition using an image from my ECR repository.
Let's say I update the image with a new version, will ECS pick the changes automatically?
Do I need to modify the ...
5
votes
2
answers
5k
views
Docker stack deploy doesn't pull images
I'm launching through Ansible (just SSH basically) a docker stack deploy, the issue is also true when launching directly from a manager:
docker stack deploy --prune --with-registry-auth -c /docker/...
7
votes
1
answer
4k
views
Kubernets docker registry behind nginx-ingress
I try to setup docker-registry in Kubernetes cluster behind the nginx-ingress controller.
The issue is, when I try to push the image into private registry, it tells me:
Get https://registry.local/...