Okay so im still new here but I’ll get to the point. I have a local rancher runing on my system to test for our dev team. We need to use some custom docker images for our application and have it automatically updated to the rancher server. So the question is how Do I get rancher to use our registry that on gitlab?
What I have done so far…
Gone to resources – registries then went to add registries.
added in custom https://registry .gitlab .com with username and password.
Go to workloads, launch.
in images I used name:latest
click okay and wait for 10 mins just for the thing to say that It timed out.
From the events it says that the image can not be pulled.
I also added a registry that is registry. gitlab .com and registry .gitlab. com/my-username/project
|Normal||Scheduled||Successfully assigned neo/test2-7d75fbbd97-ptfpx to bigthink||18 minutes ago|
|Normal||SandboxChanged||Pod sandbox changed, it will be killed and re-created.||18 minutes ago|
|Normal||Pulling||pulling image “avercastadmin/neo:latest”||17 minutes ago|
|Warning||Failed||Failed to pull image “avercastadmin/neo:latest”: rpc error: code = Unknown desc = Error response from daemon: pull access denied for avercastadmin/neo, repository does not exist or may require ‘docker login’||16 minutes ago|
|Warning||Failed||Error: ErrImagePull||16 minutes ago|
|Normal||BackOff||Back-off pulling image “avercastadmin/neo:latest”||8 minutes ago|
|Warning||Failed||Error: ImagePullBackOff||3 minutes ago|
What am I doing wrong?
Found it out… my browser was auto inputting a wrong password for me… So stupid of me…