Difference between revisions of "No basic auth credentials."
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[docker: Error response from daemon]]: Head "https://12332434.dkr.ecr.eu-central 1.amazonaws.com/v2/yourrepo/manifest/yourimage": no basic auth credentials. | [[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> | 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:53, 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: