[root@localhost ~]# docker search tutorial
Error response from daemon: Get https://index.docker.io/v1/search?q=tutorial: x509: certificate has expired or is not yet valid
输入这个我报错是怎么回事??请大神指点。
执行查状态
/etc/init.d/docker status
显示
docker dead but subsys locked
需要删除 pid,sock
\rm /var/run/docker.*
\rm /var/lock/subsys/docker
执行
/etc/init.d/docker status
显示
docker is stopped
然后再
/etc/init.d/docker start
应该就正常可以用 pull 镜像了
zhang 2015-12-16 13:15:46
我输入docker search tutorial命令后报错: Error: json: cannot unmarshal number into Go value of type string
Error response from daemon: Get https://index.docker.io/v1/search?q=tutorial: x509: certificate has expired or is not yet valid
输入这个我报错是怎么回事??请大神指点。
执行查状态
/etc/init.d/docker status
显示
docker dead but subsys locked
需要删除 pid,sock
\rm /var/run/docker.*
\rm /var/lock/subsys/docker
执行
/etc/init.d/docker status
显示
docker is stopped
然后再
/etc/init.d/docker start
应该就正常可以用 pull 镜像了