Tag: ibm cloud

如何在Bluemix容器中运行chown以写入Bluemix卷

我正尝试在Bluemix docker容器中chown装入的卷目录。 我的容器启动后运行的run.sh指出: chown -R grafana:grafana "$GF_PATHS_DATA" "$GF_PATHS_LOGS" 我得到的错误: Cchown: changing ownership of '/var/lib/grafana': Permission denied 有没有办法使chown可用,或者我需要使用chmod来代替。

IBM容器:cf iclogin失败

我无法使用cf ic login到IBM Containers进行cf ic login 。 mpoutane@FI-0365-LT:~|⇒ cf ic login Deleting the old configuration file… Retrieving client certificates for IBM Containers… INFO: 2016/07/26 12:14:22 Auth Error: { "code": "IC5099E", "description": "Not authorized: {\n \"code\": \"IC5017E\", \n \"description\": \"The ID could not be validated. Log in to the CLI again.\", \n \"incident_id\": \"275-1469524457.883-459747\", \n \"name\": […]

将IBM Containers(Dockers)连接到Watson IoT服务实例

我想知道是否可以将在IBM Containers服务中运行的Dockers与Watson IoT服务实例(当然,运行在相同的组织和空间中)连接起来。 我总是可以将公有IP分配给我的Docker并通过公共IP连接,但我认为这没有任何意义,还有一种方法就像我使用类似的其他服务 -e "CCS_BIND_SRV=My-IoT-Service" 当启动Docker时。

在Bluemix上访问容器时出错

如果我尝试访问容器选项卡以列出或创build任何容器,则从我的Bluemix仪表板中获取像下面这样的错误: 在这里input图像说明 如果从shell(Ubuntu 12.04)login到我的Bluemix帐户并执行此操作: cf ic login 我得到这个错误: "description": "Not authorized: { "code": "IC5017E", "description": "The ID could not be validated. Log in to the CLI again.", "incident_id": "2364-1472136150.189-27574423", "name": "Token", "rc": "500", "type": "Authorization" } 我从shell中login到Bluemix中的其他帐户,一切正常,列出Docker镜像,将镜像拉到本地存储库以创build容器,所以SO和cli安装正确,问题出在这个帐户上,但是什么?在这个有问题的帐户中,我没有在Bluemix中创build任何容器

不能将“kill”命令发送给在IBM Containers服务中运行的docker

我需要执行: cf ic kill -s HUP my-running-haproxy 使ha代理重新加载configuration,但我得到: rpc error: code = 7 desc = permission denied 我拥有帐户中的所有权限,并可以执行所有其他cf命令。 有什么我失踪?

在Bluemix中检查cf iclogin中的networking错误

我正在尝试使用IBM容器,当我尝试命令“cf ic login”时出现以下错误 Deleting old configuration file… Retrieving client certificates for IBM Containers… Storing client certificates in /root/.ice/certs/… Storing client certificates in /root/.ice/certs/containers-api.ng.bluemix.net/9ffac48d-4bb7-4f01-a2cc-3a6b4fd64404… OK The client certificates were retrieved. Checking local Docker configuration… OK Authenticating with the IBM Containers registry host registry.ng.bluemix.net… OK You are authenticated with the IBM Containers registry. FAILED Error getting response, […]

将文件添加到bluemix卷

我是docker和bluemix的新手,尝试在bluemix上部署我的应用程序。 我想在卷中添加应用程序configuration文件,以便所有的容器可以读取相同的configuration文件。 我遵循了bluemix给出的所有步骤 – https://console.ng.bluemix.net/docs/containers/container_volumes_mount.html 这些是我执行的命令 – cf ic volume create myvolume OK The volume 'myvolume' was created. cf ic volume list myVolume cf ic run –volume myvolume:/usr/xyz–name singleVolContainer registry.portal.bluemix.net/my_services/dockerexample:1.0 8aad1ab7-42c3-2344-890b-0a345eb6d74c cf ic cp ./config.properties 8aad1ab7-42c:/usr/xyz cf ic exec -it 8aad1ab7-42c bash cd /usr/xyz bash: cd: /usr/xyz: Not a directory 现在不是将文件复制到xyz目录,而是将文件的内容复制到一个名为“xyz”的新文件中。 我究竟做错了什么? 如何将文件复制到卷中,以及如何检查容器是否能够读取卷中的文件? 添加 – […]

Docker容器是否可以直接从Bluemix Workload Scheduler启动?

我想使用(Docker)容器从Bluemix工作负载调度程序计划一些批处理作业。 容器专用于批量作业。 批处理作业是容器的命令。 我没有看到直接从调度程序启动容器的方法。 这怎么能实现? 我看到的解决scheme 通过运行远程命令。 这可能需要一个虚拟机,可能会失败的一个点。 通过调用Docker作为REST服务。 这照顾了HA,但像组创build的“cf ic”选项将不可用。 有没有其他解决办法,我忽略了?

在Bluemix中使用docker-compose时不一致的问题

我在使用docker-compose在Bluemix / IBM容器中部署和链接3个容器时出现问题。 我正在使用的撰写文件已经工作,并继续工作,但它是非常不一致的。 当它失败时,我得到以下回应: Recreating xxxxx_1 Recreating yyyyy_1 Creating zzzzz_1 ERROR: for server 'message' Traceback (most recent call last): File "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 […]

Bluemix容器 – Linux如何

我无法使用Debian,Centos,Alpine等在Bluemix上启动一个容器。 有没有办法阻止? 来自docker中心的图像。 有没有开始运行命令? 我想我需要一个文件的参数。