Pulling images from private registry

Just a note as it was not easy to find documentation on this in Rancher Desktop / Kubernertes docs. Ended up following some dead ends.

If you want to point to foo.internal.images for your images you can try this:

kubectl create secret docker-registry yourcred -n your-namespace
–docker-server=foo.internal.images
–docker-username=
–docker-password=
–docker-email=

then configure your pods to use the pull secret

Also for some reason I think I may have had to do docker login foo.internal.images to get it to work.

1 Like

I’ll definitely keep that in mind for future references when working with Rancher Desktop and Kubernetes.

It’s always helpful to have these specific steps documented, as they can save a lot of time and frustration. Thanks for sharing!