I am having this issue in my Mac system 10.11.6
system3:postgres saurabh-gupta2$ docker build -t postgres . Sending build context to Docker daemon 38.91kB Step
One of the problems you might need to check is, Does the registry requires VPN, Enable your VPN and try pulling again.
Thanks.