https://yomon.hatenablog.com/entry/2019/08/fargateselenium
I tried to move selenium on aws by following the instructions on the page above, but docker push didn't work and got stuck.
docker push 123456789012.dkr.ecr.ap-northeast-1.amazonaws.com/yomon8title
Then,
no basic auth credentials
The error occurred.
https://qiita.com/NaokiIshimura/items/1886dbd04631c3f7d0e1
I also checked the permissions of the account, the access key and the secret access key, and there was no problem, but I still get the same error.
Could you tell me how to do docker push?
The official document provides troubleshooting information for the error no basic auth credentials
.
Troubleshooting Docker Command Errors Using Amazon ECR - Amazon ECR
Use this as a reference.
docker login
for the correct regiondocker login
has not expiredhttps://
portion of the command generated by issuing awsecr get-login
Please check the .
Also, just in case, it might be a good idea to check if your account has permission to write to ECR.
Amazon ECR Management Policy - Amazon ECR
You must have AmazonEC2ContainerRegistryFullAccess
or AmazonEC2ContainerRegistryPowerUser
privileges to the appropriate repository.
You can also verify that at least read permissions exist by executing commands such as awsecr description-repositions
.
© 2024 OneMinuteCode. All rights reserved.