cortexlabs/cortex

./cortex/dev/export_images.sh: Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented`

bluuewhale opened this issue · 0 comments

Version

0.42.0

Description

Error saving credentials: error storing credentials - err: exit status 1, out: not implemented

...

aws ecr get-login-password --region $ecr_region | docker login --username AWS --password-stdin $destination_registry # this line fails  when client is using `Amazon ECR Docker Credential Helper`
...

(describe the bug)

Configuration

(paste relevant cortex.yaml or cluster.yaml configuration)

Steps to reproduce

  1. ...download Amazon ECR Docker Credential Helper and set credsStore to "ecr-login" in ~/.docker/config.json
  2. ...aws configure
  3. ..../cortex/dev/export_images.sh <account_id>

Expected behavior

successful login :)

Actual behavior

Error saving credentials: error storing credentials - err: exit status 1, out: not implemented

Screenshots

(optional)

Stack traces

(error output from CloudWatch Insights or from a random pod cortex logs <api name>)

<paste stack traces here>

Additional context

(optional)

Suggested solution

(optional)