docker / docker/docker-credential-helpers

"pass": executable file not found in $PATH:

Open
#296 5 comments 3 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

  • debian 11.7
  • Docker version 24.0.4, build 3713ee1
  • docker-credential-pass (github.com/docker/docker-credential-helpers) v0.7.0

my docker config look like this

cat ~/.docker/config.json
{
        "credsStore": "pass",
        "auths": {}
}

docker-credential-pass exists in following directories:

  • /sbin
  • /bin
  • /usr/bin
  • /usr/local/bin

dockerd /proc/N/environ is

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

docker login error

Error saving credentials: error storing credentials - err: exit status 1, out: `pass not initialized: exec: "pass": executable file not found in $PATH:`

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 login with ~/.docker/config.json and the reported Debian and Docker versions. Inspect the docker-credential-pass entry point and the process PATH involved in locating pass; done requires a confirmed diagnosis and a clearly defined behavior or fix, since the issue currently reports symptoms without specifying the desired change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.