docker search 问题(Error response from daemon)

[root@localhost ~]# docker search ubantu
Error response from daemon: Get https://index.docker.io/v1/search?q=ubantu&n=25: x509: certificate has expired or is not yet valid
这类问题是由于本地时间偏差导致的问题
解决方法:
[root@localhost ~]# ntpdate cn.pool.ntp.org
16 Aug 09:20:46 ntpdate[23354]: step time server 85.199.214.100 offset 2010464.882848 sec
完成:
[root@localhost ~]# docker search nginx
INDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATED
docker.io docker.io/nginx Official build of Nginx. 6629 [OK]
docker.io docker.io/jwilder/nginx-proxy Automated Nginx reverse proxy for docker c... 1088 [OK]
docker.io docker.io/richarvey/nginx-php-fpm Container running Nginx + PHP-FPM capable ... 423 [OK]
docker.io docker.io/jrcs/letsencrypt-nginx-proxy-companion LetsEncrypt container to use with nginx as... 209 [OK]
docker.io docker.io/kong Open-source Microservice & API Management ... 98 [OK]
docker.io docker.io/webdevops/php-nginx Nginx with PHP-FPM 88 [OK]
docker.io docker.io/bitnami/nginx Bitnami nginx Docker Image 32 [OK]
docker.io docker.io/linuxserver/nginx An Nginx container, brought to you by Linu... 24
docker.io docker.io/tutum/nginx Base Docker Image to run Nginx server 10
docker.io docker.io/webdevops/nginx Nginx container 8 [OK]
docker.io docker.io/blacklabelops/nginx Dockerized Nginx Reverse Proxy Server. 6 [OK]
docker.io docker.io/nginxdemos/nginx-ingress NGINX Ingress Controller for Kubernetes 5
docker.io docker.io/1science/nginx Nginx Docker images that include Consul Te... 4 [OK]
docker.io docker.io/ixbox/nginx Nginx on Alpine Linux. 3 [OK]
docker.io docker.io/phpdockerio/nginx Note: image is now deprecated, here only t... 2 [OK]
docker.io docker.io/pebbletech/nginx-proxy nginx-proxy sets up a container running ng... 1 [OK]
docker.io docker.io/schmunk42/nginx Legacy nginx image 1
docker.io docker.io/toccoag/openshift-nginx Nginx reverse proxy for Nice running on sa... 1 [OK]
docker.io docker.io/xutongle/nginx nginx http 1 [OK]
docker.io docker.io/mailu/nginx Mailu nginx frontend 0 [OK]
docker.io docker.io/redash/nginx Pre-configured nginx to proxy linked conta... 0
docker.io docker.io/tclavier/nginx Basic nginx container 0 [OK]
docker.io docker.io/travix/nginx NGinx reverse proxy 0 [OK]
posted @ 2017-10-26 10:27  单机才牛  阅读(867)  评论(0编辑  收藏  举报