'ErrImageNeverPull' with nerdctl as regular user pulling container image on k8s worker node but not as root #2766
Unanswered
chef-wally
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have set up a container registry on k8s-container-registry-1 using nerdctl and pushed a custom image to it. However, when attempting to pull the image on k8s-worker-node-1 as a regular user, it results in an "ErrImageNeverPull" error. I noticed that running the pull command as root works, but I would like to make it work for the regular user as well.
Any guidance on resolving the pull error for the regular user would be welcome.
Below are the exact steps I completed in order.
Completed on k8s-control-plane-1 server as a normal user:
Completed on k8s-container-registry-1 server as a normal user:
Completed on k8s-worker-node-1 server as a normal user and then as root for it to work:
Not sure what to make of it because as a regular user it only shows the image I've pushed and I assume kubernetes can't see nerdctl images of regular users?
However, if I check it under root I get many more images and for some reason kubernetes can see this image
Beta Was this translation helpful? Give feedback.
All reactions