0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

exec: "docker-credential-desktop.exe": executable file not found in $PATH

Last updated at Posted at 2024-10-07
  • dockerを起動しようとしたら error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: が出た時の話
  • これは備忘録ですので特に解説とかはないです
    • 公式でもそれぽい記事があったのでそちらを参照してみてください

エラー

  • dockerを立ち上げようとした際に以下のようなエラーが発生
$ docker compose up

error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``

解決策

# config.jsonを修正
$ vim ~/.docker/config.json 

# ファイルの中身を修正
// 修正前
{
        # 一部省略
        "credsStore": "desktop",
        3 一部省略
}

          ↓
# 修正後
{
        # 一部省略
        "credStore": "desktop",
        # 一部省略
}

終わり

  • この修正がなぜ必要かを調べる必要があるが放置し続けてしまっている
  • いつか続編を出したい
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?