pull access denied repository does not exist or may require docker login

前端 未结 16 1887
悲哀的现实
悲哀的现实 2021-02-02 05:18

I am using Laravel 4.2 with docker. I setup it on local. It worked without any problem but when I am trying to setup online using same procedure then I am getting error

16条回答
  •  借酒劲吻你
    2021-02-02 05:47

    I had the same issue. In my case it was a private registry. So I had to create a secret as shown here

    and then we have to add the image pull secret to the deployment.yaml file as shown below.

    pods/private-reg-pod.yaml  
    apiVersion: v1
    kind: Pod
    metadata:
      name: private-reg
    spec:
      containers:
      - name: private-reg-container
        image: 
      imagePullSecrets:
      - name: regcred
    

提交回复
热议问题