0

我遵循了官方说明,并仔细检查了这些说明
1.我使用
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys myKey命令进行身份验证。
2. 我能够使用
sudo ice --local push registry-ice.ng.bluemix.net/myAccount/myApp.

但是,当我尝试创建和运行容器时,出现以下错误:

user@comp:~$ sudo ice run --name myApp registry-ice.ng.bluemix.net/myAccount/myApp:latest
Target is container cloud. Invoking cloud service...
Command failed with container cloud service
Unauthorized... Try to login again...

运行此命令时,我也遇到相同的错误:

sudo ice ps
sudo ice images

更新1:当我运行容器时,出现以下错误:

:~$ sudo ice ip request
Target is container cloud. Invoking cloud service...
Command failed with container cloud service
Error requesting new floating ip

虽然ice ip list返回 2 个 IP 地址的列表。

4

2 回答 2

2

你有没有运行冰登录?​​​

sudo ice login -k  077179b63616a6d052233dfe2ca66952e77ef0ee1de1a5fd \
-H https://api-ice.ng.bluemix.net/v1.0/containers \
-R registry-ice.ng.bluemix.net

之后,您应该能够运行sudo ice images.

于 2015-01-27T22:04:28.173 回答
1

该命令当前存在一个问题,该ice ip request命令实际上在该命令有效时会返回错误代码。运行ice ip list它会显示你的IP。我们正在努力修复错误的错误代码。

于 2015-01-28T17:47:55.430 回答