首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >船坞注册表拉错

船坞注册表拉错
EN

Stack Overflow用户
提问于 2015-07-24 22:02:16
回答 1查看 264关注 0票数 1

我有一个码头注册中心,目前正在启动和运行。我有两个不同的越野车主播码头。一个是我自己创建的,然后手动安装了码头。另一个是波什做的。现在,这两个VM都能够将图像推送到我在<IP>:<PORT>的私人注册中心。手动创建的VM能够提取注册表中存在的任何图像。相比之下,BOSH只能拉出它向上推的图像。

当拉一个图像时,它被推了,我们得到了这样的输出

代码语言:javascript
复制
<IP>:<PORT>/test/scratch:1: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.

然而,当拉出任何其他图像(我知道它存在并可以被拉出)时,我得到的输出如下:

代码语言:javascript
复制
docker pull <IP>:<PORT>/<IMAGE_PREFIX>/centos:6
6: Pulling from <IP>:<PORT>/<IMAGE_PREFIX>/centos
f1b10cd84249: Pulling fs layer
b9aeeaeb5e17: Pulling fs layer
f577f0104d9f: Pulling fs layer
25026cb4e110: Pulling fs layer
7935ccc5687c: Pulling fs layer
b65d7f315ddb: Pulling fs layer
0995c5f045e3: Pulling fs layer
8383060ffe2b: Pulling fs layer
4e532e3dd806: Pulling fs layer
13012e69774f: Pulling fs layer
c0720f93f003: Pulling fs layer
1af9b43df076: Pulling fs layer
961ad276c59a: Download complete
Pulling repository <IP>:<PORT>/<IMAGE_PREFIX>/centos
FATA[0000] Error: image <IMAGE_PREFIX>/centos:6 not found

BOSH VM“找不到”图像是没有意义的,因为它清楚地看到了用于创建我想要的图像的层。但我不知道这是不是什么奇怪的验证错误。

BOSH中的ps -ef | grep docker输出显示:

代码语言:javascript
复制
docker --daemon --api-enable-cors=false --debug=false --group vcap --graph 
/var/vcap/store/docker/docker --host unix:///var/run/docker.sock 
--insecure-registry <IP>:<PORT> --bip 192.168.227.1/24 --icc=true --ip-forward=true 
--iptables=true --iptables=true --pidfile /var/vcap/sys/run/docker/docker.pid 
--selinux-enabled=false --host tcp://127.0.0.1:4243

我手工创建的VM的输出显示:

代码语言:javascript
复制
/usr/bin/docker -d --bip 192.168.227.1/24 --insecure-registry <IP>:<PORT>
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-07-24 22:52:28

是我的错。注册表包含使用docker1.7.0构建的映像,但是我的BOSH已经安装了docker1.5.0。因此,BOSH没有识别注册表包含的图像格式(我相信),因此报告了我想要的图像没有找到错误。升级docker二进制文件和spec文件,然后重新部署新版本修复了错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31620468

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档