07/22/2022, 7:13 AM
Hi team i am getting following error while run docker login any idea ?/usr/local/bin/docker-credential-rancher-desktop: source: line 5: can't open '/etc/rancher/desktop/credfwd': No such file or directory FATA[0003] error saving credentials: error storing credentials - err: exit status 2, out: `


07/22/2022, 9:26 PM
This sounds like you are running
docker login
inside the
VM; you should run it on the host instead.
Beyond that, we would need more info on what exactly your are doing to understand where it goes wrong.


07/25/2022, 11:00 AM
HI i am runing docker login command from host works for login to docker or jfrog repo ..however it is not working while login to AWS Repo..i see .docker/cofig.json file is not getting updated ...this could be the reason why i am getting error was working fine before i updated latest racher version
docker login /usr/local/bin/docker-credential-rancher-desktop: source: line 5: can't open '/etc/rancher/desktop/credfwd': No such fil e or directory
above is the error i am getting
i think rancher desktop 1.4 has default docker credential store as Pass and that is causing issues with update credetial in .docker/config file
it seems rancher 1.4 upgrade change the way credential stored for githube which could be the reason i am no longer able to save data in docker/config.json ..can anyone help here so i can store AWS ECR credential while login to docker ECR registry ?
i have redeploy rancher this time i use docker demon and followed steps mantioned in which fix my issue.