安装docker-compose出现错误,安装命令:
curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

报错信息:

curl: (60) Peer's Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html

原因: 虚拟机时间不准确,重新设置一下就好了

  1. 查看时间
    [root@localhost ~]# date
    Sat Sep 7 19:46:05 CST 2019
  2. 设置时间
    [root@localhost ~]# date -s "2020-06-25 13:11:30"
    Thu Jun 25 13:11:30 CST 2020
  3. 再次查看
    [root@localhost ~]# date
    Thu Jun 25 13:11:32 CST 2020

相关文章:

  • 2021-07-22
  • 2022-12-23
  • 2021-07-26
  • 2021-06-09
  • 2021-12-03
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
猜你喜欢
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案