Tag: ibm cloud

Bluemix容器closures问题

我正在尝试使用容器来部署基于Fortran的代码。 我已成功为Fortran环境创build了一个映像存储库。 但是,当我尝试使用容器时,容器不启动。 它保持build设,超时后永不停止。 我检查在线解决scheme,并build议由于尺寸问题发生这种情况。 不过,我甚至试图分配2 GB的内存(在我的情况下,最大允许),但我仍然无法获得容器的工作。 有人可以提出一个解决scheme吗? The result for cf ic inspect [ { "BluemixApp": null, "BluemixServices": null, "Config": { "AttachStderr": false, "AttachStdin": false, "AttachStdout": false, "Cmd": [], "Dns": "", "Env": [ "logging_password=", "space_id=09b438a1-16ea-4e78-9229-6c8ff48522bd", "logstash_target=logmet.opvis.bluemix.net:9091", "metrics_target=logmet.opvis.bluemix.net:9095" ], "Hostname": "instance-01024a2b", "Image": "registry.ng.bluemix.net/legacycontainer/madeline-chat:latest", "ImageArchitecture": "amd64", "Labels": { "doc.url": "/docs/images/docker_image_ibmnode/ibmnode_starter.html" }, "Memory": 1024, "MemorySwap": "", "OpenStdin": […]

打开(Bluemix)容器到所有传入的连接

新年快乐2017! 大家好! 当我尝试将Docker镜像部署到BlueMix容器(其中cf ic run = docker run docker cf ic run = docker run )时,出现了一些问题, 即使图像在内部运行,我也无法从networking访问容器。 我咬住了绑定的地址: ping 169.46.18.91 PING 169.46.18.91 (169.46.18.91): 56 data bytes 64 bytes from 169.46.18.91: icmp_seq=0 ttl=48 time=124.247 ms 64 bytes from 169.46.18.91: icmp_seq=1 ttl=48 time=122.701 ms 该图像在本地工作,但现在,我给它一个IP,并承载它在Bluemix容器服务,我报告了一个问题,而图像设置后, cf ic -v run命令 这里是命令的日志: cf ic -v run -p 3000 –name […]

IBM Bluemix身份validation令牌始终无效

我已经写了一个小Python脚本,它应该使用Python的requests模块来访问这里描述的IBM Bluemix容器API。 这是脚本: """ You can run this script for example as follows: python test-script.py \ –user <YOUR IBM BLUEMIX USER NAME> \ –ca-certificate <PATH TO YOUR ca.pem> \ –oauth-token "$(cf oauth-token)" \ –space-id "$(cf space dev –guid)" \ –request-url https://containers-api.ng.bluemix.net/v3/containers/version \ –method GET The request-url is an EXAMPLE! """ import argparse import getpass import […]

将Laravel应用程序包装入Docker映像

我创build了一个Laravel 5.2应用程序,我想创build它的泊坞窗图像,但我是新的Docker。 有人可以指导我通过这个过程,或者通过networking链接帮助我获得有关构buildLaravel泊坞窗图像的信息。 谢谢。

Bluemix容器的内部networking允许的IP地址范围

我们无法将任何Docker映像推送到Bluemixregistry,因为我们的内部代理阻止了对Bluemix域的请求。 我们的networking团队需要他们需要的IP地址范围。 你能帮忙吗?

Docker撰写Bluemix KeyError消息

在使用docker-compose在Bluemix中部署2个服务时出现错误: Creating xxx ERROR: for xxx-service 'message' Traceback (most recent call last): File "bin/docker-compose", line 3, in <module> File "compose/cli/main.py", line 64, in main File "compose/cli/main.py", line 116, in perform_command File "compose/cli/main.py", line 876, in up File "compose/project.py", line 416, in up File "compose/parallel.py", line 66, in parallel_execute KeyError: 'message' Failed to execute script docker-compose […]

Bluemix Kubernetes docker部署查询

我们尝试在Bluemix上使用Kubernetes 。 我们跟着 – https://console.ng.bluemix.net/docs/containers/cs_tutorials.html#cs_tutorials 虽然服务已经暴露,我们看到公网IP地址和NodePort,但是我们无法通过公网IP访问网页。 当我们附上容器时,我们发现hello world Python Flask应用程序工作正常,我们可以在5000端口本地访问网页。 不幸的是,它不能通过公共IP地址访问

将容器图像从一个Bluemixregistry复制到另一个registry项时的权限消息

我正在尝试将Bluemixregistryregistry.ng.bluemix.net/XXXX/rhel:v5中的一个复制到另一个registry中,即registry.ng.bluemix.net/YYYY/rhel:v5 通过使用命令login到与XXXX关联的Bluemix帐户和空间之后 cf ic cpi registry.ng.bluemix.net/XXXX/rhel:v5 registry.ng.bluemix.net/YYYY/rhel:v5 请注意,我可以访问组织和空间。 Bluemix显示以下消息… Sending build context to Docker daemon 2.048kB Error response from daemon: Build aborted with error: User does not have access to namespace 'YYYY' Build ID: 268-1502886177.269-12875 FAILED Command failed 请build议,可能出现什么问题,有什么方法可以继续前进?

使用BlueMix容器registry服务而不运行本地docker

我正在使用Minikube来testing在IBM Bluemix kubernetes服务中部署的所有内容。 我有我的Macbook泊坞窗环境configuration为使用Minikube,我不启动标准的基本Docker守护进程/服务在我的MacBook。 我只是: eval $(minikube docker-env) 它工作的很好,我在Minikube中使用相同的yaml文件比我应用到Bluemix,因为我使用Docker和Minikube图像registry。 问题:当我尝试login到BX CR从Minikuberegistry中推送图像时,我得到: MacBook-Pro:Docker and Kubernetes icordoba$ bx cr login Logging in to 'registry.ng.bluemix.net'… FAILED Failed to 'docker login' to 'registry.ng.bluemix.net' with error: Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system […]

docker集装箱作为CF花园

我想对像Garden这样的本地容器运行一些testing,我想使用适合我们要求的docker,是否有作为CF花园容器build造的一些docker image / prototype? 与FS像home/vcap/app/…..我只是想在本地模拟E2Etesting没有部署…