Certificate error when pulling images

Hi everyone,

When trying to pull a image from the docker hub, I am recieving some weird errors. The specific error that the docker daemon returns is:

“Error getting v2 registry: Get https://registry-1.docker.io/v2/: x509: certificate signed by unknown authority”

The weird thing is that running “docker search x” runs fine and returns what was expected. Also curling the page(curl -vL registry-1.docker.io) and running the openssl s_client(openssl s_client -connect registry-1.docker.io:443) doesn’t return any certificate errors.

I am not behind a corperate proxy or anything like that. I’ve tried a lot of solutions like adding certs to the /etc/docker/certs.d directory, rebooting my machine, and almost everything that google searches suggested.

My docker version:
Client:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built: Tue Oct 11 17:00:50 2016
OS/Arch: linux/amd64

Server:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built: Tue Oct 11 17:00:50 2016
OS/Arch: linux/amd64

Thanks!

2 Likes

I’m having the same error with the most recent version of docker 20.10.13 :confused: