docker / docker/docker-credential-helpers

docker logout throws error on MacOS

Open
#59 17 comments 22 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.