Description of problem:
I\'m trying to pull ubuntu from the public registry with this command :
docker pull ubuntu
And then i got this
Whenever you face below problem please set your date and time correct:
"Error while pulling image: Get https://index.docker.io/v1/repositories/library/ubuntu/images: x509: certificate has expired or is not yet valid"
use below command for linux system to set the date and time
sudo date --set='Mon Jan 13 14:50:44 IST 2020' "Note"=> if you are from different time zone please set as CST,EST,EDT etc.