docker-credential-helpers
docker-credential-helpers copied to clipboard
docker logout throws error on MacOS
Docker Version 17.03.1-ce-mac5 (16048) MacOS Sierra Version 10.12.4
docker logout myregistry.example.com:5000
throws warning:
Removing login credentials for myregistry.example.com:5000
WARNING: could not erase credentials: error erasing credentials - err: exit status 1, out: `The specified item could not be found in the keychain.`
When running docker logout myregistry.example.com:5000
again, it is confirmed that the logout was successful:
Not logged in to myregistry.example.com:5000
This issue has also been replicated on OSX Yosemite 10.10.5 with a fresh install of Docker CE.
Same issue on Docker 17.06.0-ce-rc5-mac16 (18400).
Same on El Capitan 10.11.16, Docker version 17.06.0-ce, build 02c1d87 (18432)
Anybody knows the latest version which doesn't have this issue ?
Re-installed current stable (Version 17.06.0-ce-mac18 (18433)) and not seeing the issue.
Same issue with docker 17.06.1-ce, macos 10.12.6
In case it helps, I was doing some version testing the other day and also noticed this on 1.13.1. I did not notice this on 1.9.1.
Same issue with docker Version 17.06.2-ce-mac27(19124), macOS Sierra 10.12.6. I do login into a private registry on another machine on same network; the login is successful but the logout gives me this "WARNING: could not erase credentials: error erasing credentials - err: exit status 1, out: The specified item could not be found in the keychain.
"
Same issue on macOS High Sierra 10.13.1 (17B48) and Docker 17.09.0-ce-mac35 (19611).
I fixed it by rebooting my Mac. See docker/for-mac#2228
I'm hitting the same issue after deleting some certificates in my keychain. Is there any way to fix it. Tried restarting docker but didn't work.
I'm seeing this error as well with: Docker version 19.03.1, build 74b1e89 System Version: macOS 10.14.6 (18G87)
I tried restarting mac but that didn't fix the issue for me
Same issue with: Docker version 19.03.2, build 6a30dfc / macOS 10.14.6. I saw this issue in case login to the private registry only. I can logout from docker.io (default registry) without any warning.
Same issue with CentOS Linux release 8.0.1905 , Docker version 19.03.4, build 9013bf583a Also with a private repository.
Same issue with MacOS Mojave 10.14.4. Docker desktop 2.1.0.5. Docker engine 19.03.5. Also using private repository.
[UPDATE]: A reboot solved it for me.
Same issue with MacOS Catalina 10.15.5. Docker version 19.03.8. I use also a private repository.
Not a solution but I found a workaround on OSX. Open the "Keychain Access" application and delete the entry called Docker Credentials. You are now logged out 🤷
Same issue with macOS big sur
Same issue.Is there any resolution ?
lovely, 5 years after initial report, Docker version 20.10.16, build aa7e414, still not working. Thanks god it's nothing important, it's just a security issue.