I’m trying to get kubernetes working with docker hub and a private repository. It works fine with public repos, but my private repo - I can not access. I’ve read everything on stack overflow searched the internet, but it has me stumped. If I make the repo used below public and keep everything else the same, it works fine, its just when its private that its failing. Obviously something is wrong with the authentication but everything checks out. Note this is a standard kubernetes bear metal install.
The message I get when I try to deploy a pod is :-
Failed to pull image “silvercreek8s/test:v3”: failed to pull and unpack image “docker.io/silvercreek8s/test:v3”: failed to resolve reference “docker.io/silvercreek8s/test:v3”: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
I will attach more info in follow up messages as I cant post ‘more than 2 links’ as a new user.