Zend certified PHP/Magento developer

Invalid certificat during docker pull on Synology

When I do this:

me@synology $ sudo docker pull linuxserver/sonarr
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": 
   x509: certificate is valid for synology, not registry-1.docker.io

I get an error that I don’t really understand. How should I fix it?