码迷,mamicode.com
首页 > 其他好文 > 详细

docker certificates

时间:2015-12-08 14:17:30      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:

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
    

docker certificates

标签:

原文地址:http://www.cnblogs.com/jvava/p/5028823.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!