Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

 
alt

Daniel Nashed

 

Rancher Desktop -- use images created locally

Daniel Nashed  14 April 2022 23:57:40
This took me a while to figure it out, because the error message wasn't clear.

I am building my image on Rancher Desktop and I am trying to use it on Rancher Desktop on the same machine.
Rancher Desktop was always trying to pull the image and returned an error, because it could not find the image in any registry.

The trick here is to set imagePullPolicy: Never

With this setting always the local image is used and you are responsible for updating it on your own.

In my case I am using the Docker run-time, which is easier to use to build images.

-- Daniel

apiVersion: v1
kind: Pod
metadata:
  name: foo
spec:
  containers:
    - name: foo
      image: foo
      imagePullPolicy: Never


Comments

1Daniele Vistalli  16.04.2022 21:47:11  Rancher Desktop -- use images created locally

Great stuff Daniel, thank you for sharing :) In the end it all makes sense

Links

    Archives


    • [IBM Lotus Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]