Problem:
The 'ecr get-login' command is generating an incompatible syntax for latest docker version.
Docker 17.06 doesn't support the deprecated '-e' flag anymore and give the following error:
unknown shorthand flag: 'e' in -e
See 'docker login --help'.
This is a blocker for all my scripts using aws ecr get-login.
Command:
aws ecr get-login
Result:
docker login -u AWS -p <token> -e none https://<accountid>.dkr.ecr.us-east-1.amazonaws.com
Versions:
aws-cli/1.11.129 Python/2.7.10 Darwin/16.7.0 botocore/1.5.92
Docker version 17.06.0-ce, build 02c1d87
'--email' flag removal PR: docker/cli#143
Problem:
The 'ecr get-login' command is generating an incompatible syntax for latest docker version.
Docker 17.06 doesn't support the deprecated '-e' flag anymore and give the following error:
This is a blocker for all my scripts using aws ecr get-login.
Command:
aws ecr get-loginResult:
docker login -u AWS -p <token> -e none https://<accountid>.dkr.ecr.us-east-1.amazonaws.comVersions:
aws-cli/1.11.129 Python/2.7.10 Darwin/16.7.0 botocore/1.5.92
Docker version 17.06.0-ce, build 02c1d87
'--email' flag removal PR: docker/cli#143