Docker Pull错误:x509:证书已过期或尚未生效 [英] Docker pull error : x509: certificate has expired or is not yet valid

查看:276
本文介绍了Docker Pull错误:x509:证书已过期或尚未生效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题描述:

我正在尝试使用以下命令从公共注册表中拉出ubuntu:

I'm trying to pull ubuntu from the public registry with this command :

docker pull ubuntu

然后我得到了这个结果(以前的命令昨天工作了):

And then i got this results (the previous command was working yesterday) :

提取图像时出错:获取 https://index.docker.io/v1/repositories/library/ubuntu/images :x509:证书已过期或尚未生效"

"Error while pulling image: Get https://index.docker.io/v1/repositories/library/ubuntu/images: x509: certificate has expired or is not yet valid"

docker版本:

Client:
Version: 1.10.0
API version: 1.22
Go version: go1.5.3
Git commit: 590d510
Built: Thu Feb 4 18:36:33 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.0
API version: 1.22
Go version: go1.5.3
Git commit: 590d510
Built: Thu Feb 4 18:36:33 2016
OS/Arch: linux/amd64

码头工人信息:

Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 20
Server Version: 1.10.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 44
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins: 
Volume: local
Network: bridge null host
Kernel Version: 3.19.0-49-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.815 GiB
Name: ubuntu
ID: Y6OO:23T2:BAPU:DVQJ:HJCJ:USEP:T6EU:PMG4:O4M6:46C7:JKPC:BQHT
WARNING: No swap limit support

uname -a:

Linux ubuntu 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

我确认我的约会",一切都很好.我不知道这个问题可能来自哪里.

I verify my "date" and everything is good. I don't know where this issue can come from.

推荐答案

这个为我做了 docker-machine regenerate-certs --client-certs

这篇关于Docker Pull错误:x509:证书已过期或尚未生效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆