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
或者
-
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
@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!