Tag: ibm cloud

cf ic logs容器给出了json:不能将string解组为stringtypes的Go值

我不能在RedHat 6.7上工作。 它在Windows上工作正常,但我需要从RedHat 6.7,我的Docker是旧的(1.7),似乎并不支持后来一个。 我得到: $ cf ic logs Container json: cannot unmarshal string into Go value of type []string FAILED Command failed 我发现这是相同的,但表示解决scheme是使用最新的插件。 我说它在那里: $ cf ic update You are using the latest version of the plug-in. 版本: $ uname -a Linux puvm61 2.6.32-642.15.1.el6.x86_64 #1 SMP Mon Feb 20 02:26:38 EST 2017 x86_64 x86_64 […]

docker-compose到Bluemix Failed。 “TypeError:string索引必须是整数”

我正在尝试这个教程。 教程: 使用Docker Compose和IBM Bluemix Container Service创build多容器部署 但是,发生了一个错误,我不明白这是什么意思。 请告诉我什么是错的。 版本: OS: macOS Sierra bx version 0.5.3+e1de255-2017-05-17T04:07:46+00:00 Docker version 17.03.1-ce, build c6d412e docker-compose version 1.11.2, build dfed245 环境variables: DOCKER_HOST=tcp://containers-api.ng.bluemix.net:8443 DOCKER_CERT_PATH=/Users/{myname}/.ice/certs/containers-api.ng.bluemix.net/****** DOCKER_TLS_VERIFY=1 泊坞窗,compose.yml lets-chat: image: registry.ng.bluemix.net/hiroga/lets-chat ports: – "8080" links: – mongo mongo: image: registry.ng.bluemix.net/hiroga/mongo expose: – "27017" 错误 $ docker-compose –verbose up compose.config.config.find: Using configuration files: […]

在Bluemix中使用容量和redmine docker容器

我正在尝试使用Redmine官方Docker在Bluemix容器中设置一个Redmine实例; 我可以build立图像,并运行容器没有问题。 如果我向容器中添加一个卷,则构build失败,并且以此日志结尾: chown:无法读取目录'文件/文件':权限被拒绝 8chown:改变“文件”的所有权:权限被拒绝 我知道这是因为容器中的用户没有读/写权限。 我已经尝试了一些解决scheme尝试,如使用 USER根 在chown之前。 即使在chown之后声明了卷(正如Docker页面中所build议的那样) 另外,我遇​​到的所有其他解决scheme都涉及ssh到容器; 我不能做的事情,因为容器从来没有运行与音量的第一位。 这里是我的Dockerfile和entrypoint.sh的副本 FROM ruby:2.2-slim # add the volumeeditor to grant permissions in bluemix RUN groupadd –gid 1010 redmine RUN useradd –uid 1010 –gid 1010 -m –shell /bin/bash redmine RUN apt-get update && apt-get install -y –no-install-recommends \ ca-certificates \ wget \ && rm -rf […]

IBM容器部署失败

尝试将Docker容器部署到Bluemix。 安装了容器服务插件,能够login到api.ng.bluemix.net ,但是在运行bluemix ic init出现以下错误: { "code": "IC5097E", "description": "Authentication was not successful: The container service has not been enabled for this org. Please login via \u2018bx login …' + \u2018bx ic init …' and try again.", "environment": "prod-dal09", "host_id": "144", "incident_id": "1360-1497162332.121-675605", "name": "InvalidToken", "rc": "401", "type": "Infrastructure" } FAILED Your login state might […]

如何解决SG客户端ENOTFOUND错误

我将Secure Gateway的目标主机设置为ssldemo主机名,而不是IP地址。 我使用'–net="host"'选项启动了SG客户端,以便parsing主机名。 当然,主机操作系统可以parsing主机名。 请查看ping主机名的日志。 但是,SG客户端无法parsing主机名,并在执行trx时出现"ENOTFOUND"错误。 我试图添加'–net="host" –add-host "ssldemo:192.168.56.1"'选项,但是我得到了同样的错误。 你能教我如何解决"ENOTFOUND"错误? linux-h4fn:~ # docker run -it ibmcom/secure-gateway-client *GATEWAY_ID* –net="host" IBM Bluemix Secure Gateway Client version 1.1.0 press enter for the command line [2015-07-06 10:46:50.383] [INFO] The Secure Gateway tunnel is connected [2015-07-06 10:46:56.824] [INFO] Connection #78 is being established to ssldemo:443 [2015-07-06 10:46:56.845] [INFO] Connection #78 […]

IBM Docker Container Cloud中的用户registrypipe理

因为我们可以将图像上载到IBM Docker Container Cloud中的私人registry中,所以我想知道协作是如何工作的。 我可以授予私人图片给其他用户/组吗? 如果是这样,你怎么能这样做?

IBM容器:无法使用“cf ic login”login

尝试从我的Bluemix容器存储库中删除图像(名称:defaultimage) cf ic rmi registry.ng.bluemix.net/XXX/defaultimagename 我收到消息: Command failed – Could not connect to IBM Containers {"error": "Tag not found"} 当我尝试使用“cf ic login”login容器时,出现以下错误: ** Retrieving client certificates from IBM Containers ** Storing client certificates in /home/uebele/.ice/certs Successfully retrieved client certificates ** Authenticating with registry at registry.ng.bluemix.net Could not authenticate with IBM Containers registry at registry.ng.bluemix.net **** […]

Docker – archive / tar:写太长

我是Docker新手,面临一个问题,然后尝试从Docker中心复制Docker镜像到Bluemix中的Docker代表。 我想从Docker中心复制弹性search图像: https://github.com/docker-library/official-images 我从CF命令行login到Bluemix,然后执行命令: cf ic cpi docker.io/library/elasticsearch registry.ng.bluemix.net/ipsendemo/db_elasticsearch:new 但是我得到了一个错误,说: 归档/ tar:写太长 以下是我的要求和回应。 谁能告诉我这个错误的含义? C:\Users\IBM_ADMIN>cf ic cpi docker.io/library/elasticsearch registry.ng.bluemix.net/ipsendemo:new C:\Users\IBM_AD~1\AppData\Local\Temp\docker422820463 archive/tar: write too long

在bluemix用户界面中使用命令

我需要在bluemix使用bluemix docker container ,但是我的笔记本电脑不支持bluemix ,所以我不能使用命令在CLI中使用CLI插件在bluemix运行bluemix 。 有没有其他方法可以做到这一点?

自定义的Docker镜像从Bluemix中丢失

我正在尝试按照CLI说明部署自定义的Docker镜像。 我推动了这个形象 docker push registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker:mytag 和输出似乎很好: The push refers to a repository [registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker] (len: 1) Sending image list Pushing repository registry.ng.bluemix.net/XXX/XXXXXX/centos-docker-broker (1 tags) Image ebdbe10e9b33 already pushed, skipping Image 366219586e86 already pushed, skipping Image fa5be2806d4c already pushed, skipping Image 501f51238f9e already pushed, skipping Image 1a895dd3954a already pushed, skipping Image 755bf916afd3 already pushed, skipping Image e94ed3d5b932 […]