Open vishaldesai opened 6 years ago
Can you confirm that your terminal can access that registry using the normal aws command line. For example, if you run
aws ecr describe-repositories
What is your output?
C:\Users\Administrator>aws ecr describe-repositories { "repositories": [ { "registryId": "xxxx", "repositoryName": "vishalsneaql", "repositoryArn": "arn:aws:ecr:region:xxxxx:repository/vishalsneaql", "createdAt": 1525113057.0, "repositoryUri": "xxxx.dkr.ecr.us-east-1.amazonaws.com/vishalsneaql" } ] }
I can run aws commands from command line but getting following error for copy command.
C:\Users\Administrator\Downloads>copy-docker-image_windows_386.exe --srcURL https://hub.docker.com/r/full360/ --srcRepo sneaql --srcTag latest --destURL https://xxxxxxxx.dkr.ecr.us-east-1.amazonaws.com --destRepo vishalsneaql --destTag latest 2018/04/26 21:58:21 registry.ping url=https://hub.docker.com/r/full360/v2/ 2018/04/26 21:58:22 registry.ping url=https://hub.docker.com/r/full360/v2/ 2018/04/26 21:58:22 registry.ping url=https://xxxxx.dkr.ecr.us-east-1.amazonaws.com/v2/ Failed to establish a connection to the destination registry. Failed to create registry connection for https://xxxx.dkr.ecr.us-east-1.amazonaws.com. Get https://xxxxxx.dkr.ecr.us-east-1.amazonaws.com/v2/: http: non-successful response (status=401 body="Not Authorized\n")