DokployD
Dokploy12mo ago
3 replies
planttdev

AWS ECR authentication persistance

I'm succesfully looging into my ECR repository by entering:
* Repository name: The name of my docker image.
* Username: AWS (by default).
* Password: Obtained by ssh-ing into the VPS and running aws ecr get-login-password --region [MY_REGION].
* Registry URL: The URL to the registry: <aws_account_id>.dkr.ecr.<region>.amazonaws.com

However, the token passed in the password, lasts only 12 hours. After some research, I installed and configured https://github.com/awslabs/amazon-ecr-credential-helper. I can pull images while ssh, but not from within Dockploy Registry. It'slike it's trying to pull images differently. Any help?
Was this page helpful?