Docker is installed succesfully but i cant login into it

error response from daemon get HTTPS //registry-1.docker.io/v2/ context deadline exceeded

getting the above error while trying to log in to the docker. also, we are accessing the internet through a proxy server so we have also all the URLs passed through the proxy.

can be guided there is no .docker folder in user/administrator. so we need to create manually and it create a config.json file?