系统环境:centos 6.5 内核版本:2.6.32-696.1.1.el6.x86_64 程序版本:Docker version 1.7.1, build 786b29d/1.7.1 问题:下载镜像报错: # docker search centos Error response from daemon: Get https://index.docker.io/v1/search?q=centos: x509: certificate has expired or is not yet va…
环境:最小化安装centos7 问题:docker 启动没问题,但是查询 镜像时报错 Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: x509: certificate has expired or is not yet valid 最终发现问题是系统时间不同步 由于笔者是最小安装所以需要安装 yum install -y ntpdate ntp 然后修改配置文件 vim /etc/n…