amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

ecs-cli push fails with a peculiar error message for images with a "/" in the name

Open PettitWesley opened this issue 9 years ago • 4 comments

$ docker images
REPOSITORY                                                     TAG                 IMAGE ID            CREATED             SIZE
hello-world                                                    latest              ece6f1fb544a        3 days ago          179MB
mac/hello                                                      latest              ece6f1fb544a        3 days ago          179MB
golang                                                         1.8                 7e62a8729fa7        7 weeks ago         699MB
redis                                                          alpine              9d8fa9aa0e5b        3 months ago        27.5MB
mysql                                                          latest              44a8e1a5c0b2        4 months ago        407MB
wordpress                                                      latest              a8f5a76ca5cd        4 months ago        406MB
ubuntu                                                         12.04               5b117edd0b76        6 months ago        104MB
$ ecs-cli push mac/hello
FATA[0000] Error executing 'push': failed to serialize authorization token: docker-credential-ecr-login can only be used with Amazon EC2 Container Registry. 

PettitWesley avatar Nov 03 '17 04:11 PettitWesley

Any news about this bug? Same thing here..

maiconbaumx avatar Mar 06 '18 11:03 maiconbaumx

Same.

$ ecs-cli pull --aws-profile myprofile  --region myregion myimage
FATA[0012] Error executing 'pull': failed to serialize authorization token: docker-credential-ecr-login can only be used with Amazon EC2 Container Registry.

jonyt avatar Mar 15 '18 21:03 jonyt

Any update for that?

kitmoovup avatar Apr 06 '18 04:04 kitmoovup

@kitmoovup @jonyt @maiconbaumx I've started working on this; and we've added it to our project board: https://github.com/aws/amazon-ecs-cli/projects/1

PettitWesley avatar Apr 17 '18 18:04 PettitWesley