aws ecr get-login broken in latest rc build
Problem
$ `aws ecr get-login` unknown shorthand flag: 'e' in -e See 'docker login --help'. $ docker --version Docker version 17.06.0-ce-rc4, build 29fcd5d
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: aws ecr get-login broken in latest rc build
Rather than adding a flag why not detect the docker version. It seems that the AWS client has enough information to decide whether or not to include the -e in the login command rather than generating an invalid command.
Trust Score
4 verifications
- 1
Rather than adding a flag why not detect the docker version. It seems that the
Rather than adding a flag why not detect the docker version. It seems that the AWS client has enough information to decide whether or not to include the -e in the login command rather than generating an invalid command.
Validation
Resolved in aws/aws-cli GitHub issue #2676. Community reactions: 6 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep