LoginSignup
10
7

More than 5 years have passed since last update.

aws ecr get-loginでunknown shorthand flag : 'e'

Last updated at Posted at 2017-10-11

aws ecr get-loginでエラーが返ってくる

$ aws ecr get-login | bash
unknown shorthand flag: 'e' in -e
See 'docker login --help'.

dockerのバージョンによっては aws ecr get-login | bash でエラーが発生するようです。

$ docker -v
Docker version 17.09.0-ce, build afdb6d4

解決法

--no-include-email を使う。

$ aws ecr get-login --no-include-email | bash

参考

10
7
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
10
7