docker Error response from daemon 解決

來源:本站原創 容器技術 超過589 views圍觀 0條評論

[[email protected] ~]# 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

 

解決

vim /etc/chrony.conf   更新ntp服務器
systemctl restart chronyd
date
timedatectl set-timezone Asia/Shanghai  設置時區
date
chronyc sources -v   查看同步

以下為正常。即可使用docker search
[[email protected] ~]# chronyc sources -v
210 Number of sources = 1

  .– Source mode  ‘^’ = server, ‘=’ = peer, ‘#’ = local clock.
/ .- Source state ‘*’ = current synced, ‘+’ = combined , ‘-‘ = not combined,
| /   ‘?’ = unreachable, ‘x’ = time may be in error, ‘~’ = time too variable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) –.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
^* 118.24.4.66                   2   6   377    62   -821us[-2454us] +/-   66ms
[[email protected] ~]#

文章出自:CCIE那點事 http://www.qdxgqk.live/ 版權所有。本站文章除注明出處外,皆為作者原創文章,可自由引用,但請注明來源。 禁止全文轉載。
本文鏈接:http://www.qdxgqk.live/?p=3815轉載請注明轉自CCIE那點事
如果喜歡:點此訂閱本站
?
?
萌宠夺宝游戏 vr彩票首页 急速赛车手国语 重庆时时计划专业人工 超级大乐透开奖结果查 今天青海快三走势图 云南快乐十分奖金表 现在二房东能赚钱吗 时时彩后三单式做号技巧 黑龙江十一选五走势图链接 11选5走势图看出稳赚技巧 体育彩票31选7开奖结果 老人民币生意赚钱么 dd彩票安卓 天津快乐十分预测 中国体彩篮彩 快乐12开奖公告