• Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: x509: certificate has expired or is not yet valid


    试了一下,在浏览器下  https://index.docker.io/v1/search?q=mysql&n=25 能有正常响应。

    排除服务端地址问题。看网上说是系统时间与服务器时间与外界时间不一致。同步后验证,果然是这个原因。

    root@localhost /etc/docker $ docker search mysql
    Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: x509: certificate has expired or is not yet valid
    root@localhost /etc/docker $ vim daemon.json
    root@localhost /etc/docker $ docker search mysql
    Error response from daemon: Get https://index.docker.io/v1/search?q=mysql&n=25: x509: certificate has expired or is not yet valid
    root@localhost /etc/docker $ ntpdate cn.pool.ntp.org   <== 同步时间
     7 Nov 02:41:52 ntpdate[1518]: step time server 84.16.73.33 offset 54258955.898984 sec
    root@localhost /etc/docker $ docker search mysql
    INDEX       NAME                                        DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
    docker.io   docker.io/mysql                             MySQL is a widely used, open-source relati...   10134     [OK]       
    docker.io   docker.io/mariadb                           MariaDB is a community-developed fork of M...   3730      [OK]       
    docker.io   docker.io/mysql/mysql-server                Optimized MySQL Server Docker images. Crea...   741                  [OK]
    docker.io   docker.io/percona                           Percona Server is a fork of the MySQL rela...   511       [OK]       
    docker.io   docker.io/centos/mysql-57-centos7           MySQL 5.7 SQL database server                   84                   
    docker.io   docker.io/mysql/mysql-cluster               Experimental MySQL Cluster Docker images. ...   78                   
    docker.io   docker.io/centurylink/mysql                 Image containing mysql. Optimized to be li...   60                   [OK]
    docker.io   docker.io/bitnami/mysql                     Bitnami MySQL Docker Image                      46                   [OK]
    docker.io   docker.io/deitch/mysql-backup               REPLACED! Please use http://hub.docker.com...   41                   [OK]
    docker.io   docker.io/tutum/mysql                       Base docker image to run a MySQL database ...   35                   
    docker.io   docker.io/databack/mysql-backup             Back up mysql databases to... anywhere!         31                   
    docker.io   docker.io/prom/mysqld-exporter                                                              31                   [OK]
    docker.io   docker.io/schickling/mysql-backup-s3        Backup MySQL to S3 (supports periodic back...   29                   [OK]
    docker.io   docker.io/linuxserver/mysql                 A Mysql container, brought to you by Linux...   26                   
    docker.io   docker.io/centos/mysql-56-centos7           MySQL 5.6 SQL database server                   20                   
    docker.io   docker.io/circleci/mysql                    MySQL is a widely used, open-source relati...   19                   
    docker.io   docker.io/mysql/mysql-router                MySQL Router provides transparent routing ...   17                   
    docker.io   docker.io/arey/mysql-client                 Run a MySQL client from a docker container      15                   [OK]
    docker.io   docker.io/fradelg/mysql-cron-backup         MySQL/MariaDB database backup using cron t...   10                   [OK]
    docker.io   docker.io/yloeffler/mysql-backup            This image runs mysqldump to backup data u...   7                    [OK]
    docker.io   docker.io/openshift/mysql-55-centos7        DEPRECATED: A Centos7 based MySQL v5.5 ima...   6                    
    docker.io   docker.io/devilbox/mysql                    Retagged MySQL, MariaDB and PerconaDB offi...   3                    
    docker.io   docker.io/ansibleplaybookbundle/mysql-apb   An APB which deploys RHSCL MySQL                2                    [OK]
    docker.io   docker.io/jelastic/mysql                    An image of the MySQL database server main...   1                    
    docker.io   docker.io/widdpim/mysql-client              Dockerized MySQL Client (5.7) including Cu...   1                    [OK]
  • 相关阅读:
    localStroage 和sessionStorage的区别
    audio 在ios无法播放问题解决
    判断是否在微信浏览器中打开
    使用CSS样式的方式
    Django总结
    Django框架初步
    HTML表单设计(下)
    HTML表单设计(上)
    HTML框架
    nohup和&后台运行,查看占用端口进程
  • 原文地址:https://www.cnblogs.com/xiluhua/p/13941247.html
Copyright © 2020-2023  润新知