首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >IBM Containers和DevOps管道

IBM Containers和DevOps管道
EN

Stack Overflow用户
提问于 2015-11-07 00:32:42
回答 1查看 174关注 0票数 0

试着开始做这件事..

我创建了一个镜像(Nodejs)并将其推送到Bluemix。在Bluemix中,我创建了一个容器,这很有效。

然后我用jazz创建了一个项目...并使用DevOps管道(IBM Container service)来构建应用程序。我想要做的是自动构建和部署此应用程序。

现在.。我应该把什么作为镜像名称?我会认为这是我已经推送的图像..但也许不是。然后我把它改成类似'mynewapp‘的东西,但这也不起作用。

当我使用现有的镜像时,我得到的错误是:(镜像名称是test920)不确定它为什么要添加一个标签12……

代码语言:javascript
复制
The desired image repository name will be registry.ng.bluemix.net/jytestcontainer/test920:12
Initialization complete
Number of images: 0 and Image limit: 5
The number of images are less than the image limit
Init runtime of 3m 10s
total 12

Starting build script
No unit tests cases have been checked in
Building registry.ng.bluemix.net/jytestcontainer/test920:12
zipped tar size: 1185166
Posting 1185166 bytes... It may take a while...
Command failed with container cloud service
{
    "code": "IC5000E", 
    "description": **"Sorry, an error occurred on our side. Please reference the problem using the provided incident ID",** 
    "incident_id": "b4b88aeb12e5a4d9", 
    "name": "DefaultMessage", 
    "rc": "500", 
    "type": "General"
}

当我使用一个新的镜像名称时--一个不存在的名称..我得到了:

代码语言:javascript
复制
Building registry.ng.bluemix.net/jytestcontainer/**nodecontainer**:15
zipped tar size: 1185855
Posting 1185855 bytes... It may take a while...
Command failed with container cloud service
{
    "code": "IC5000E", 
    "description": "Sorry, an error occurred on our side. Please reference the problem using the provided incident ID", 
    "incident_id": "b520b2ea4a115bbd", 
    "name": "DefaultMessage", 
    "rc": "500", 
    "type": "General"
}
"ice build --pull --tag registry.ng.bluemix.net/jytestcontainer/nodecontainer:15 /home/jenkins/workspace/3f72adfe-59e3-b729-ef87-6316c8d67561/806f147e-9244-4b69-849e-abce3b0def1b" did not return successfully.

所以问题是..。这个过程会先构建一个新的映像吗?如果是这样的话..为什么它不能使用不存在的镜像名称?

如果它需要一个现有的镜像..为什么它使用了一个不存在的标签?

感谢任何人的指点...

干杯

EN

回答 1

Stack Overflow用户

发布于 2015-11-07 05:53:35

这些sample scripts对我来说工作得很好。您可以在此公共sample中查看使用情况。

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

https://stackoverflow.com/questions/33571394

复制
相关文章

相似问题

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