x509: certificate is valid for mmtrkjy.com, *.mmtrkjy.com, *.mmtrkmc.com, *.mmtrkpd.com, *.mmtrksg.com, *.mmtrksk.com, mmtrkmc.com, mmtrkpd.com, mmtrksg.com, mmtrksk.com, not registry-1.docker.io
@sirlatrom The problem was solved by installing sertificate to
/usr/share/ca-certificates/extra/
and adding it using tool
sudo dpkg-reconfigure ca-certificates
Thanks for your help!
或者
- on CentOS:
sudo cp yourcert.crt /etc/pki/ca-trust/source/anchors/ sudo update-ca-trust extract sudo service docker restart
- on Debian:
sudo cp yourcert.crt /usr/local/share/ca-certificates/ sudo update-ca-certificates sudo service docker restart
时间: 2024-11-10 13:15:47