如何在Bluemix中重新添加容器

当我尝试将容器添加到bluemix中的空间A时,我收到以下错误:

BXNUI0521E:尝试从映像创build容器时,发生事件ID为747-1463152155.505-13996376的内部错误。 某些资源(如IP地址或内存)在检索命名空间时不可用。

另外当我在空间AI运行cf ic login接收:

 { "code": "IC5005E", "description": "The maximum quota for this organization is 2 floating IPs and 2048 memory. The action you are trying to complete, such as logging into a new space, would exceed the maximum quota. The current floating IP usage is 2 and this action would require an additional 2. The current memory usage is 2048 and this action would require an additional 2048. Reduce usage for the organization or ask your organization manager to adjust the quota allocation in the Manage Organizations page.", "incident_id": "744-1463151704.272-14000754", "name": "IPAndMemoryQuotaExceeded", "rc": "500", "type": "Quota" } 

我相信这是因为我在空间B创build了一个容器,为它分配了两个IP地址。 我已经删除了这个空间。 如何将浮动IP使用率降低到0?

有了这个配额(2个IP地址和2048 MB),我假设你有一个Bluemix免费帐户。

在这种情况下,您只能在组织内的一个空间中创build容器。 一旦在space B创build了容器,就不能在space A创build任何容器(即使您有足够的配额)。

您提到您删除的space B (您最初创build容器的位置),因此您需要等待一段时间(通常在24小时或更短时间内),以便重置您的帐户。

之后,您将能够再次login到一个新的空间,创build一个新的名称空间,并再次使用容器。

通常你需要以下步骤:

首先,您需要使用以下命令来定位正确的组织和空间:

 cf target -o ORG -s SPACE 

您可以使用以下方式列出所有分配的公共IP地址(可用或不可用):

 cf ic ip list -a 

然后,您可以使用以下方式发布IP:

 cf ic ip release [IPAddr] 

但是,在您的情况下,如果绑定到已删除的空间,您可能无法释放IP。 如果上述步骤不能解决问题,您可以打开支持请求,要求IBM Containers团队发布IP。