标签:
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
标签:
原文地址:http://www.cnblogs.com/jvava/p/5028823.html
@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!