Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i delete docker-credential-pass

Tags:

docker

I have a problem with docker login and pass, when I can't find a solution to this problem I decide to uninstall the pass

I delete pass, config.json but when I want to connect a docker hub

sudo docker login

Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.

Error saving credentials: error storing credentials - err: no credentials server URL, out: no credentials server URL

sudo docker logout

Removing login credentials for https://index.docker.io/v1/

WARNING: could not erase credentials:

https://index.docker.io/v1/: error erasing credentials - err: exit status 1, out: pass not initialized: exec: "pass": executable file not found in $PATH:

I don't know what I can do

can anyone help me to solve this problem?

like image 800
hadir Avatar asked Sep 05 '25 03:09

hadir


1 Answers

Deleting the file /usr/local/bin/docker-credential-osxkeychain worked for me.

rm /usr/local/bin/docker-credential-osxkeychain

If the above one doesn't work then try to Remove the line "credsStore": "osxkeychain" from ~/.docker/config.json

like image 118
Ashok Avatar answered Sep 07 '25 23:09

Ashok



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!