docker / docker/docker-credential-helpers
docker logout throws error on MacOS
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 195
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing docker logout myregistry.example.com:5000 on the reported macOS and Docker versions, then trace the platform keystore credential-erasure path. Done means logout removes the credentials without the keychain warning, while a subsequent logout reports that the user is not logged in.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, macos
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100