Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker logout throws error on MacOS #59

Open
robertlestak opened this issue Apr 28, 2017 · 17 comments
Open

docker logout throws error on MacOS #59

robertlestak opened this issue Apr 28, 2017 · 17 comments

Comments

@robertlestak
Copy link

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.

@andradei
Copy link

andradei commented Jun 27, 2017

Same issue on Docker 17.06.0-ce-rc5-mac16 (18400).

@mrotaru
Copy link

mrotaru commented Jul 6, 2017

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 ?

@mrotaru
Copy link

mrotaru commented Jul 6, 2017

Re-installed current stable (Version 17.06.0-ce-mac18 (18433)) and not seeing the issue.

@saliceti
Copy link

saliceti commented Sep 1, 2017

Same issue with docker 17.06.1-ce, macos 10.12.6

@joedragons
Copy link

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.

@ElPsyCongro
Copy link

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."

@liming-gd
Copy link

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

@saqib-ahmed
Copy link

saqib-ahmed commented Aug 7, 2019

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.

@sumitb
Copy link

sumitb commented Aug 7, 2019

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

@akiko-pusu
Copy link

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.

@Moghi
Copy link

Moghi commented Nov 19, 2019

Same issue with CentOS Linux release 8.0.1905 , Docker version 19.03.4, build 9013bf583a
Also with a private repository.

@Gronis
Copy link

Gronis commented Jan 13, 2020

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.

@soernt
Copy link

soernt commented Jun 10, 2020

Same issue with MacOS Catalina 10.15.5. Docker version 19.03.8. I use also a private repository.

@chriswininger
Copy link

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 🤷

@Segfaultd
Copy link

Same issue with macOS big sur

@Seelam-Ramesh-Reddy
Copy link

Same issue.Is there any resolution ?

@alfonz19
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests