Difference between revisions of "No basic auth credentials."

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
  
  docker run .../...
+
  [[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.
+
  [[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>
  
  
 
== See also ==
 
== See also ==
 
* {{docker run}}
 
* {{docker run}}
 +
* {{docker start}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 15:10, 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[edit]

Advertising: