Edca3899
deployment via ecr
I've succesfully deployed dokploy on an ec2.
The issue is when i try to pull from an ecr repo.
no issues with the following command on cli:
aws ecr get-login-password --region <your-region> | docker login --username AWS --password-stdin <account-id>.dkr.ecr.<your-region>.amazonaws.com
docker pull <account-id>.dkr.ecr.<your-region>.amazonaws.com/simplestack/simplestackblog-next-js-app-amc7hl:latest
also no issues when pushing my image via GitHub actions to ecr:
but when i want to add a source as Docker (ecr behind the scenes):
and then i try to pull via "deploy". i get an error like:
Initializing deployment
Build nixpacks
Pulling simplestack/simplestackblog-next-js-app-amc7hl:latest: ✅
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your credentials are stored unencrypted in '/root/.docker/config.json'.
Configure a credential helper to remove this warning. See
https://docs.docker.com/go/credential-store/
Login Succeeded
Error response from daemon: pull access denied for simplestack/simplestackblog-next-js-app-amc7hl, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
❌ Error
Image
1 replies