Tag: ibm cloud

ENOTFOUND在使用Kubernetes的Docker容器上启动Secure Gateway Client时出错

我有一个在Bluemix上运行(进入VPNnetworking)的单个Docker容器来运行我的Secure Gateway客户端,以稳定Cloud to Site之间的VPN连接,并且它正在工作。 我正尝试迁移此容器以在Kubernetes上运行,因为IBM将弃用Bluemix上的单个泊坞窗实例。 但是运行相同的图像到一个Kubernetes集群得到的错误: [2017-10-02 13:52:11.766] [错误](客户端ID 17)响应代码:ENOTFOUND,消息:getaddrinfo 有谁知道发生了什么? 我正在使用的安全网关客户端映像是“ibmcom / secure-gateway-client” 谢谢,

如何在IBM Bluemix Experties上运行Docker部署

推荐部署Docker映像的方法是通过(a)bx cs(b)cf ic以及为什么这样做? 如何从私人registry(registry.ng.bluemix.net/namespace/image)运行Docker镜像? 如何在微服务方面部署和运行各种Docker Images(nodejs + mongoose)? 您确定,我们可以通过bx cs(或)使用kubernetes部署和运行Docker镜像,只有我们可以使用cf ic部署和运行docker镜像吗? 任何简短的示例应用程序或步骤部署和运行kubernetes与nodejs连接MongoDB中的泊坞窗图像? 谢谢。

IBM Cloud Developer Tool:idt build / bx dev build导致错误(OCI运行时执行失败…)

我得到一个错误,运行在我的Node.js项目文件夹,特别是: [hafiz@Ubuntu ~/FSFTM/code/TaskListApp] $ sudo bx dev build Getting service credentials for the project. OK OK Deleting the container named 'tasklistapp-express-tools' … Creating image tasklistapp-express-tools based on Dockerfile-tools… OK Creating a container named 'tasklistapp-express-tools' from that image… OK Starting the 'tasklistapp-express-tools' container… OK Building the project in the current directory started at Fri Dec 22 […]

Bluemix:绑定到容器的服务不会出现在VCAP_SERVICES中

我正在尝试使用IBM Containers for Bluemix部署容器并将其绑定到Bluemix服务。 我从现有的Bluemix应用程序开始,它绑定到我想要的MongoDB服务。 我validation它的VCAP_SERVICES环境variables是否正确填充: $ cf env mamacdon-app Getting env variables for app mamacdon-app in org mamacdon@ca.ibm.com / space dev as mamacdon@ca.ibm.com… OK System-Provided: { "VCAP_SERVICES": { "mongodb-2.4": [ { "credentials": { /*private data hidden*/ }, "label": "mongodb-2.4", "name": "mongodb-1a", "plan": "100", "tags": [ "nosql", "document", "mongodb" ] } ] } … 然后,我使用ice命令在Bluemix中运行映像,使用–bind […]

无法通过ssh连接到基于ibmnode:latest的容器

我无法连接到创build的容器。 这是Dockerfile FROM registry-ice.ng.bluemix.net/ibmnode:latest COPY id_rsa.pub /root/.ssh/ RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys RUN DEBIAN_FRONTEND=noninteractive apt-get -y install git && mkdir /vApp COPY . vApp RUN cd vApp && npm install -d –production EXPOSE 3000 22 CMD ["node", "vApp/app.js"] 这里是冰ps的输出: Container Id Name Group Image Created State Private IP Public IP Ports bbf72b72-6377-4c53-afdf-a133eed1872c toto May 28 […]

bluemix“泊坞窗图像”导致“json:不能将string解组成Gotypes的int值”

我已成功将dockerregistry中的两个映像上载到IBM Bluemixregistry,我可以在login到Bluemix UI时看到这些registry。 但是,我无法使用CLI列出图像。 使用docker命令我收到以下内容: krsyoung:code krsyoung$ docker images json: cannot unmarshal string into Go value of type int 与cf ic: krsyoung:code krsyoung$ cf ic images json: cannot unmarshal string into Go value of type int Invalid IBM-Containers commands or docker commands. Available IBM Containers commands are {login, group, ip, route, volume, namespace, info} In […]

不可能删除一个容器

我创build了一个BlueMix容器,我想删除它。 于是我去了门户网站,点击容器右边的菜单,然后select“删除容器”。 问题是:在这之后,容器并没有被删除,它仍然没有被标记为“活动”,但是不可能释放它的IP地址或使用的RAM! 这是相当令人不安的,目前我不知道该怎么办。

需要浮动IP才能在IBM Bluemix中创build容器(BXNUI0110E)

在Bluemix控制台中,当我尝试创build容器时,出现此错误: BXNUI0110E:无法分配IBM Containers资源。 ORG配额不足以分配给新的SPACE。 不能超出你的组织“<my org>”浮动IP。 使用IBM Bluemixpipe理组织来调整配额分配。 容器摘要说我的组织正在使用“0/2公有IP”,所以看起来新容器应该使用这些可用的IP之一。 在“pipe理组织”中,我使用Horizo​​n浏览器分配了一些浮动IP,但这并没有解决问题。 为什么我得到这个错误,我该如何解决?

Docker容器 – 节点应用程序 – 运行问题

我尝试让我的节点应用程序在本地运行在Docker容器中。 我正在使用boot2docker。 节点应用程序的结构如下:todolistdocker> todoapp> package.json + server.js +其他文件夹(www,…) 我的docker文件如下所示: # retrive the node docker image from bluemix node image FROM registry-ice.ng.bluemix.net/ibmnode:latest # retrieve the app source code RUN git clone https://github.com/edevregille/todolistdocker.git WORKDIR todolistdocker/todoapp RUN npm install # expose port EXPOSE 6001 #launch the app CMD ["node", "server.js"] 当我运行命令 docker build -t manu/todoapp . 我得到以下日志 Sending […]

无法在IBM Bluemix上部署自定义MFP泊坞窗镜像

我一直在使用文档来在Bluemix上设置一个自定义MFP Docker镜像,但是我没有上传镜像。 我填写了所有脚本属性,并按照我们入门文档中提到的顺序运行它们。 如果我执行准备服务器脚本,我得到以下输出: $ ./prepareserver.sh args/prepareserver.properties Arguments : ———– SERVER_IMAGE_TAG : registry.ng.bluemix.net/sutter/mfpserver71 PROJECT_LOC : /Users/XX/Documents/Mobile/Worklight/Demo/temp/addApp/MobileFirstStarter /Users/XX/Documents/Mobile/Worklight/Demo/temp/addApp/MobileFirstStarter is a valid project path. Copying project artifacts. copying applications /Users/XX/Documents/Mobile/Worklight/Demo/temp/addApp/MobileFirstStarter/bin//MyHybrid-common.wlapp 然后脚本停止。 我已经浏览了脚本,并且假设当它试图向我的dockerfile添加复制语句(因为dockerfile在磁盘上没有改变)时,它在第136行卡住了。 任何想法如何解决这个问题?