I am on Windows and trying to pull spcrapy-splash base image with powershell.
Command is :
docker pull scrapinghub/splash
I have docker desktop running. And I did docker login and successfully logged in.
However every time I get this error on powershell: docker: unauthorized: authentication required.

I tried to modify .docker.config.json file with
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "XXX",
"email": "[email protected]"
}
},
"credsStore": "desktop",
"stackOrchestrator": "swarm"
}
I know auth is encoded username:password string. And I can login succesfully. So I cannot figure out why still keep getting authentication error. Is there something I am missing?
Docker Version is 20.10.5
Apparently, it was the Docker Desktop version problem. I Replaced latest with the current version and it worked.

For anyone who is struggling with authentication error, I suggest
check with the config file,
then update docker to the latest version.
Restart Docker and command line, run docker login
try again pulling or pushing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With