当我尝试执行此命令时:
> aws ecr get-login --no-include-email --region us-east-1
我不断收到错误消息:
> Unknown options: --no-include-email
我按照此处的说明操作: http://docs.aws.amazon.com/cli/latest/userguide/installing.html 将我的 aws cli 更新到最新版本:
> pip install awscli --upgrade --user
但问题仍然存在。我完全被阻止了,因为没有其他方法可以用来将我的 docker 图像推送到 Amazon ECR。
我的环境如下:
- 视窗 10 专业版
- 版本 1607
- 64 位
- aws-cli/1.11.89 Python/2.7.9 Windows/8 botocore/1.5.52
- Docker 版本 17.06.0-ce,构建 02c1d87