docker-reg | Continuous Deployment library
kandi X-RAY | docker-reg Summary
kandi X-RAY | docker-reg Summary
docker-reg
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-reg
docker-reg Key Features
docker-reg Examples and Code Snippets
Community Discussions
Trending Discussions on docker-reg
QUESTION
I want to set resources to pods with helm chart with template of resource section from subchart. Because it should be several different reource templates in subchart. I have values.yaml , main-values.yaml and templates/deployment.yaml The command to update helm chart is
...ANSWER
Answered 2021-May-16 at 07:36It's not possible to use template code in values.yaml files.
But you can merge
several values.yaml files to reuse configuration values.
main-values.yaml
QUESTION
I cant get docker-registry to run in proxy mode. I've set up a registry with the following configuration:
...ANSWER
Answered 2021-May-15 at 18:55The setting is remoteurl
not remoteUrl
. The json fields are case sensitive.
QUESTION
How to run a local Docker private registry in minikube while using the docker driver? (--driver=docker
)
Connection refused when pushing images to private registry
...ANSWER
Answered 2021-Apr-10 at 08:39Dropped this idea, instead, I'm using minikube's Docker daemon by executing
QUESTION
Environment:
- Macbook Pro: 10.13.6 (17G65) High Sierra
- Docker Desktop: 2.4.0.0
- Docker Engine: 19.03.13
- Browser: Chrome Version 87.0.4280.88 (Official Build) (x86_64)
I can't get the JFrog Container Registry webapp to run.
I followed the instructions on their website here to run a local docker container. When I initially connect to http://127.0.0.1:8081/artifactory
, I see a loading animation like this:
Then, it automatically redirects to http://127.0.0.1:8082/ui
and gives an error:
ANSWER
Answered 2021-Apr-06 at 02:28It looks like you followed the instructions for 6.x, which are not valid for 'latest', which is 7.x. You should follow the instructions for Docker for 7.x (https://www.jfrog.com/confluence/display/JFROG/Installing+Artifactory#InstallingArtifactory-DockerInstallation). The only difference is that you will need to change it from pointing to the PRO to JCR.
If you want a super quick and dirty way to just get it up and running, this will do:
QUESTION
I’m attempting to pull a private docker image into a digital ocean Kubernetes cluster. I receive this error:
Failed to pull image "testuser/services:latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/testuser/services:latest": failed to resolve reference "docker.io/testuser/services:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
I followed the guide to configure the private registry : https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ , executing the command :
kubectl create secret generic regcred
--from-file=.dockerconfigjson=
--type=kubernetes.io/dockerconfigjson
I'm following this guide for creating a Kubernetes cluster with Docker container on Kubernetes: https://www.digitalocean.com/community/tutorials/how-to-automate-deployments-to-digitalocean-kubernetes-with-circleci
When I execute kubectl apply -f ~/kube-general/
the pod is successfully created but fails to pull the image and displays above error.
To enable access to a private docker hub image I’ve added imagePullSecrets
to app-service.yml :
ANSWER
Answered 2021-Apr-02 at 09:16Can you try below:
QUESTION
Background: I have a setup where many different scalable services connect to their databases via a connection pool (per instance). These services run within a Docker Swarm.
In my current database setup, this ends up looking as follows (using PostgreSQL in this example):
...ANSWER
Answered 2021-Mar-15 at 15:17What you need (books-service.1
) is a combination of a swarm service name and a task slot. Both of these can be passed to the container as environment variables, as well as a full task name (books-service.1.zabvo1jal0h2xya9qfftnrnej
):
QUESTION
I have followed this tutorial microsoft_website to pull images from an azure container. My yaml
successfully creates a pod job, which can pull the image, BUT only when it runs on the agentpool
node in my cluster.
For example, adding nodeName: aks-agentpool-33515997-vmss000000
to the yaml
works fine, but specifying a different node name, e.g. nodeName: aks-cpu1-33515997-vmss000000
, the pod fails. The error message I get with describe pods is Failed to pull image
and then kubelet Error: ErrImagePull
.
What I'm missing?
Create secret:
...ANSWER
Answered 2021-Mar-03 at 07:54Four things to check:
- Is it a subscription issue? Are the nodes in different subscriptions?
- Is it a rights issue? Does the service principle of the node have rights to pull the image.
- Is it a network issue? Are the nodes on different subnets?
- Is there something with the image size or configuration, that means that it cannot run on the other cluster.
Edit
New-AzAksNodePool has a parameter -DefaultProfile
It can be AzContext, AzureRmContext, AzureCredential
If this is different between your nodes it would explain the error
QUESTION
I am receiving this error when starting a Pod
...ANSWER
Answered 2021-Mar-05 at 12:49So the problem was the docker-server value. Based on tutorials I've watched I was using api V1, while my image was pushed/created to dockerhub with V2, may be it's not relevant and V1 was deprecated. When I create a secret service I need to use V2 server https://index.docker.io/v2/
, like:
QUESTION
I'm having some issues settings up Gitlab CI on my local network using cached docker images.
Setup:
- GitLab running on my server
- Nexus running on a NAS
- GitLab-CI runner on my laptop
- All on a local network
Nexus is configured to cache docker images from DockerHub and store them locally. This works fine for docker on the bare machines. However, when the CI runner tries to pull a docker image, it gets blocked with the message below.
...ANSWER
Answered 2021-Mar-01 at 09:50This is a bit of a stupid one, I was missing the outer brackets around the auth block:
QUESTION
I've set up a private container registry that it is integrated with bitbucket successfully. However, I am not able to pull the images from my GKE Cluster.
I created a service account with the role "Project Viewer", and a json key for this account. Then I created the secret in the cluster/namespace running
...ANSWER
Answered 2021-Feb-19 at 16:18If a GKE Cluster is setup as private you need to setup the DNS to reach container Registry, from documentation:
To support GKE private clusters that use Container Registry or Artifact Registry inside a service perimeter, you first need to configure your DNS server so requests to registry addresses resolve to restricted.googleapis.com, the restricted VIP. You can do so using Cloud DNS private DNS zones.
Verify if you setup your cluster as private.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-reg
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page