Search code examples
dockerdocker-imagedocker-for-windowsdocker-desktopkubernetes-helm

Unable to pull local docker images - Windows


When I do a docker images, I am able to see the image I created :

rmq-iv            latest              673510273796

But when I do a : docker pull rmq-iv :latest, I get:

Error response from daemon: pull access denied for rmq-iv, repository does not exist or may require 'docker login'

I get the same error when I try the image tag in my helm chart. My aim is just to pull the image, is there something wrong I'm doing or some Windows specific setting I might need to do to get this working?

My helm chart which uses the image:

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: cache-service
spec:
  replicas: 1
  template:
    metadata:
      name: test
    spec:
      containers:
      - env:
        - name: dep
          value: "1"
        image: rmq-iv:latest
        name: scs
        resources: {}
      restartPolicy: Always
status: {}

Solution

  • Images have to be pulled from a docker registry. You can either use a public registry, or you can set up a private one. There is no such thing as "local pull".