I use this command to get AWS ECR login token
aws ecr get-login --no-include-email --region ap-southeast-1
After that i run docker login using the output from aws command
sudo docker login -u AWS -p eyJwYX****** https://****8010.dkr.ecr.ap-southeast-1.amazonaws.com
But the result is
Error saving credentials: error storing credentials - err: exec: "docker-credential-pass": executable file not found in $PATH, out: ``
I really don't have any idea how to fix this error i try search everywhere but still no luck
no basic auth credentials