我收到错误 Cloud Foundry CLI 未安装在 IBM Cloud CLI 中

问题描述 投票:0回答:2

我决定将我的脚本托管在 IBM Cloud 服务上。以前没有使用过这项服务。 我正在使用 Windows 进行聚合。我按照网站上的描述一步一步完成了所有事情。

登录我的 IBM Cloud 帐户并选择 API 端点。

$ ibmcloud login

针对 Cloud Foundry 组织和空间:

$ ibmcloud target --cf

但是在第三步。当需要时,从 get-start-python 目录将我的应用程序提交到 IBM Cloud 我在运行命令时收到错误:

$ ibmcloud cf push

错误:

$ ibmcloud cf push
Invoking 'cf push'...

FAILED
The Cloud Foundry CLI isn't installed in the IBM Cloud CLI. Use 'D:\work\IBM_Cloud_CLI\ibmcloud.exe cf install' to install it.

我使用操作系统 Windows 7 并通过“ibmcloud”控制台启动它,但我不知道我还没有安装什么?

ibm-cloud cloud-foundry
2个回答
5
投票

在最新版本的 IBM Cloud CLI(命令行界面)中,不再捆绑 Cloud Foundry CLI。首次使用前需要安装。

命令是:

ibmcloud cf install

这是你的问题:

$ ibmcloud cf push
Invoking 'cf push'...

FAILED
The Cloud Foundry CLI isn't installed in the IBM Cloud CLI. Use 'D:\work\IBM_Cloud_CLI\ibmcloud.exe cf install' to install it.

您是否看到上面它指示您调用安装命令...?继续吧:)


0
投票

IBM Cloud Foundary 自 2023 年 6 月起已降价,您可以使用 IBM Code Engine 代替 Cloud Foundary 了解更多详细信息,请访问 https://cloud.ibm.com/docs/codeengine?topic=codeengine-migrate-cf-ce -教程

© www.soinside.com 2019 - 2024. All rights reserved.