docker login unknown shorthand flag: 'e'

后端 未结 5 1610
孤城傲影
孤城傲影 2020-12-08 03:24

I just updated my docker version and found out that command

aws ecr get-login

is not working anymore. Got error:

u

5条回答
  •  感情败类
    2020-12-08 04:03

    If you prefer to avoid refreshing your authentication token manually with aws ecr get-login, you can install the Amazon ECR credential helper instead. The credential helper will take care of retrieving and updating tokens automatically so you don't need to refresh it yourself. Packages are available for Debian (Buster or newer), Ubuntu (19.10 or newer), Amazon Linux 2, Mac OS (via Homebrew), and a few other operating systems, or you can download binary releases from the releases page.

提交回复
热议问题