lux4rd0 / grafana-loki-syslog-aio

Grafana Loki Syslog All In One Syslog Deployable Stack
https://labs.lux4rd0.com/2021/01/oldskool-syslog-meets-newskool-loki/
GNU Affero General Public License v3.0
174 stars 53 forks source link

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

Closed ElijahLynn closed 1 year ago

ElijahLynn commented 1 year ago

Rubber ducking this here:

 docker-compose -f ./docker-compose.yml up -d
[+] Running 1/8
 ⠴ loki Pulling                                                                                                5.6s
 ✘ cadvisor Error                                                                                              5.6s
 ⠴ minio Pulling                                                                                               5.6s
 ⠴ node-exporter Pulling                                                                                       5.6s
 ⠴ prometheus Pulling                                                                                          5.6s
 ⠴ promtail Pulling                                                                                            5.6s
 ⠴ syslog-ng Pulling                                                                                           5.6s
 ⠴ grafana Pulling                                                                                             5.6s
error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: 
ElijahLynn commented 1 year ago

It was because I had this credsStore option in my ~/.docker/config.json:

{
  "auths": {},
  "credsStore": "desktop",
  "currentContext": "colima",
  "credHelpers": {
    "gcr.io": "gcloud"
  }
}

Removed it, works now.