Custom template creation with AWS ECS
Hi! Is it somehow possible to create a custom template using amazon elastic container registry*? I need to somehow authenticate on aws but in credentials form I have only username and password options (I believe for docker login). Is it possible throught cli maybe?
Thanks, waiting for an answer
5 Replies
You can't create a custom template using ECS, you have to use ECR for that.
Oh, thanks! Ive mixed it up. I meant ECR
But I'm still wondering is it somehow possible to authenticate? When I do that on my local pc the command looks next:
aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin ###########.dkr.ecr.us-east-1.amazonaws.com
have you figured out how to do this? I'm trying to do the same, and the docs specifically mention AWS ECR so I'm assuming it's possible
HMm
isnt there no username or passwords there?
try running
aws ecr get-login-password --region region
where region is your region then
Use AWS as the username and password maybe from ###########.dkr.ecr.us-east-1.amazonaws.com
im not sure havent experienced AWS ecr, please read the output from this command 🙂