【问题标题】:IBM Bluemix container - Refreshing cf tokens - Unauthorized failureIBM Bluemix 容器 - 刷新 cf 令牌 - 未经授权的故障
【发布时间】:2015-06-08 05:40:24
【问题描述】:

我按照 Bluemix 文档中的说明在我的 Mac 上设置了“ice”。 我可以成功运行'ice login':

API endpoint: https://api.ng.bluemix.net

Username> XXXXXX@XXX.XXX

Password> 
Authenticating...
OK

API endpoint: https://api.ng.bluemix.net (API version: 2.23.0)
User:         XXXXXX@XXX.XXX
Org:          XXXXXX@XXX.XXX
Space:        dev
Authentication with container cloud service at https://api-ice.ng.bluemix.net/v2/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
WARNING: login credentials saved in /Users/giovanni/.dockercfg.
Login Succeeded

但是当我发出任何其他“冰”命令时,我收到一个错误。 例如。 '冰图像':

Refreshing cf tokens
Unauthorized failure

关于在哪里查找日志或有什么问题有什么建议吗?

干杯,乔瓦尼

【问题讨论】:

  • 我发现在 Bluemix 中使用容器之前,需要启用帐户。为此,必须转到 Blumix UI 并创建一个容器。创建不会发生,但会触发批准过程。我现在正在等待启用我的帐户。我会及时通知你。

标签: containers ibm-cloud


【解决方案1】:

根据您的评论,问题似乎是未获得访问测试版 IBM Containers 产品的授权。我们刚刚启用了从昨天开始排队的所有用户进行测试,因此您现在应该有权访问测试服务。

【讨论】:

    【解决方案2】:

    是的,我确认,在尝试使用 Bluemix UI(网站)创建容器并收到确认我被授权使用 Container 的电子邮件后,“ice”命令开始工作。 例如

    $ ice images
    
    Image Id                             Created              Image Name                                                      
    
    d0feae99-b91d-4ce3-bcb4-6128886f6968 Mar 24 03:44:59 2015 registry-ice.ng.bluemix.net/ibmliberty:latest
    74831680-1c9c-424e-b8ea-ceede4aa0e40 Mar 24 03:41:24 2015 registry-ice.ng.bluemix.net/ibmnode:latest
    

    干杯,乔瓦尼

    【讨论】:

      猜你喜欢
      • 2020-03-06
      • 2018-02-13
      • 2023-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-05
      • 1970-01-01
      相关资源
      最近更新 更多