Description of problem:
I\'m trying to pull ubuntu from the public registry with this command :
docker pull ubuntu
And then i got this
In my case I have decided to change the date and time of the server to the current date.
if this happened with Docker on Windows
Just Restart Docker Desktop
In a dev environment you could avoid this error modify the file daemon.json alocate at /etc/docker/daemon.json add a insecure registry at the list and restart the docker engine
{
"insecure-registries" : [ "myinsecureregistry.com:443", "myinsecureregistry.com", "x.x.x.x:5000" ]
}
Ref: daemon configuration
You need to check with network configuration.If you assign single network interface you will get this issue.In network setting check NIC's are enable both public and private.
You can either use --insecure-registry
option while starting docker deamon or need to provide valid certificate path. Look here for details.
If the other recommendations don't get you anywhere, make sure that you aren't using a reverse proxy (like Apache) AND Jetty.
If you are using both, its quite likely there is a *.jks that has not been updated with the most up to date certificate.