LoginSignup
2
0

More than 3 years have passed since last update.

IBM Cloud , Cloud Foundry でエラーが出たのですが

Last updated at Posted at 2020-08-05

IBM Cloud のワークショップでエラーが出たとのことでいくつかご質問をいただきました。エラーの内容は

No space targeted. Use 'ibmcloud target -s SPACE' to target a space.

どうすればいいでしょうか?
エラーに書かれている様にSPACEを設定すればいいのです。どんなSPACEがあるかは次のコマンドでリストアップしてください。

$ ibmcloud cf spaces

SPACEが出てくるので

$ ibmcloud target -s SPACE名

でSPACEを指定してあげましょう。
もしSPACEがなかったら、次のコマンドでSPACEを作りましょう。

$ ibmcloud cf create-spece SPACE名前(任意)

ところでIBM Cloud のCloud Foundryが使えるのは現在(2020年8月)5カ所です。米国南部(us-east), 米国南部(us-south), 英国(eu-gb), ドイツ(eu-de), オーストラリア(au-syd)です。この場所を指定する時は

$ ibmcloud target -r 場所(例:us-south)

でできます。
なお無料のライトアカウントの場合は米国南部しか使えないのでご注意ください。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0