cf
Manage apps and services on Cloud Foundry. More information: https://docs.cloudfoundry.org/cf-cli/getting-started.html.
- Log in to the Cloud Foundry API:
cf login -a
- Push an app using the default settings:
cf push
- View the services available from your organization:
cf marketplace
- Create a service instance:
cf create-service
- Connect an application to a service:
cf bind-service
- Run a script whose code is included in the app, but runs independently:
cf run-task "" --name
- Start an interactive SSH session with a VM hosting an app:
cf ssh
- View a dump of recent app logs:
cf logs --recent
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
