Difference between revisions of "No basic auth credentials."
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
docker run .../... | docker run .../... | ||
− | [[docker: Error response from daemon]]: Head "https://12332434.dkr.ecr.eu-central | + | [[docker: Error response from daemon]]: Head "https://12332434.dkr.ecr.eu-central 1.amazonaws.com/v2/yourrepo/manifest/yourimage": no basic auth credentials. |
+ | |||
+ | Solution: <code>[[aws ecr get-login-password]] --region YOUR_REGIOM | [[docker login]] --username YOUR_USERNAME --password-stdin YOUR_ACCOUNT_ID.[[dkr.ecr]].YOUR_REGION.amazonaws.com</code> | ||
Revision as of 14:52, 30 November 2022
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: