no basic auth credentials.

From wikieduonline
Jump to navigation Jump to search

docker run .../...
 
docker: Error response from daemon: Head "https://12332434.dkr.ecr.eu-central 1.amazonaws.com/v2/yourrepo/manifest/yourimage": no basic auth credentials.

Solution: aws ecr get-login-password --region YOUR_REGIOM | docker login --username YOUR_USERNAME --password-stdin YOUR_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com


See also

Advertising: