Docker+ECR: Invalid bind address format

Hello,

I’m trying to automate build + push Docker images to Amazon ECR.

When I tried to authenticate Docker account using aws ecr get-login, Docker CLI fails with error like the below:

$ aws ecr get-login

(snip)

$ docker info

Invalid bind address format: xxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com

docker info returned exit code 1

Action failed: docker info