I'm having this problem in docker using manjaro (Kernel: Linux 5.11.10-1-MANJARO)
$ docker pull hello-world
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for bitty-buddy.coxauto-dzcp1-user-control-plane.com, not registry-1.docker.io
This is my daemon.json
"dns": ["8.8.8.8", "8.8.4.4"]
I have tried change to "1.1.1.1", "1.0.0.1", but doesn't work.