FG
💻 Software☁️ Cloud & DevOpsAmazon

aws ecr get-login broken in latest rc build

Freshover 8 years ago
Mar 14, 20260 views
Confidence Score77%
77%

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

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: aws ecr get-login broken in latest rc build

Low Risk

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.

76

Trust Score

4 verifications

100% success
  1. 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

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

awsclicloudclosing-soonguidance