Chinaunix首页 | 论坛 | 博客
  • 博客访问: 423471
  • 博文数量: 112
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1085
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-15 09:42
个人简介

上善若水,不浮不沉!

文章存档

2021年(2)

2020年(3)

2018年(2)

2017年(1)

2016年(8)

2015年(11)

2014年(57)

2013年(28)

我的朋友

分类: LINUX

2016-05-14 10:57:56

当前版本
[root@localhost ~]# docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d/1.7.1
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d/1.7.1
OS/Arch (server): linux/amd64

1、问题:
Error response from daemon: invalid registry endpoint  unable to ping registry   endpoint 
v2 ping attempt failed with error: Get  tls: oversized record received with length 28012
 v1 ping attempt failed with error: Get  tls: oversized record received with length 28012. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry dl.dockerpool.com:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/dl.dockerpool.com:5000/ca.crt
解决:修改文件:/etc/sysconfig/docker 中other_args参数
other_args='--selinux-enabled --insecure-registry dl.dockerpool.com:5000'
阅读(1597) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~