I've setup a docker up login on the docker hub website.
I've run sudo docker login and put my credentials in.
When I run
sudo docker pull sequenceiq/hadoop-docker:2.7.1
It downloads 5 hashes and then I get
unauthorized: authentication required
and then the pull finishes.
This person can reproduce this issue.
Note that this is different to two similar questions because they're about docker push and not docker pull.
There is a little bit of chatter here about docker pull authorization issues related to config.json format and the UTC date. I don't see how they're relevant to this situation.
My question is: Why do I get unauthorized: authentication required from a docker pull from docker hub?
Interestingly enough - even without a proxy on your mac - Docker for Mac runs through a proxy!
To switch it off (by default it is on) go to your Docker menu and choose Preferences then Proxies and change the setting from Use System Proxy to No Proxy.