Bluemix无法列出泊坞窗图像

时间:2015-05-07 18:13:03

标签: docker ibm-cloud

我已通过命令ice login成功登录bluemix容器服务,输出如下:

Authentication with container cloud service at https://api-ice.ng.bluemix.net/v1.0/containers completed successfully
You can issue commands now to the container service

Proceeding to authenticate with the container cloud registry at registry-ice.ng.bluemix.net
Login Succeeded

ice ps -a同样适用,但在发出ice images时,它失败了:

$ ice --verbose images
@2015-05-07 13:59:29.221306 - Namespace(cloud=False, local=False, subparser_name='images', verbose=True)
@2015-05-07 13:59:29.221370 - request url: https://api-ice.ng.bluemix.net/v1.0/containers/images/json
@2015-05-07 13:59:30.012412 - Return code: 404   Return reason: NOT FOUND
@2015-05-07 13:59:30.012439 - Req-ID: a382f2f79d54b157
@2015-05-07 13:59:30.012451 - Exit err level = 1

这是命令行版本:

$ ice version
ICE CLI Version        : 2.0.1 000 2015-03-26T19:51:27

请注意ice images上周有效。

服务器端有什么变化吗?

1 个答案:

答案 0 :(得分:2)

尝试使用此

登录冰
ice login -a https://api.ng.bluemix.net -H https://api-ice.ng.bluemix.net/v2/containers -R registry-ice.ng.bluemix.net 

这是我在运行ice --verbose images时得到的结果

bash-3.2$ ice --verbose images
@2015-05-08 14:54:49.692386 - Namespace(cloud=False, local=False,     subparser_name='images', verbose=True)
@2015-05-08 14:54:49.692455 - request url: https://api-ice.ng.bluemix.net/v2/containers/images/json
@2015-05-08 14:54:49.692466 - using bearer token and space id
@2015-05-08 14:54:49.692482 - config.json path: /Users/stanli/.cf/config.json

似乎你的冰命令指向了api的v1。

-Stan

相关问题