These are chat archives for aws/aws-cli

30th
Mar 2018
David M. Karr (fullname at gmail.com)
@davidmichaelkarr
Mar 30 21:29
I'm getting an error with docker login trying to connect to AWS ECR. I'm not sure if I'm doing something wrong, or the instructions I have are wrong. I'm running behind a corp proxy. I first verified I can build an image locally, talking to our private registry. I'm then using the result from "aws ecr get-login", which produces a "docker login" command line to run for the AWS ECR. This command line uses a specific userid and a long password with a server url pointing to amazonaws.com. When I run it, I see something like this: "Error response from daemon: Get https://....amazonaws.com/v1/users/: dial tcp 54.69.179.5:443: i/o timeout". I verified that I could curl directly to the url, but it gets a 401 back (unsurprisingly). I verified that nslookup of the fqhn returns that IP address (and two other IP addresses).
It looks like I sent this on the awscli channel. I tried to change to docker/docker, but it didn't work. I'll try again.