← 返回命令列表

Linux command

doctl-apps 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all apps

doctl apps list

Create app from

doctl apps create --spec [app.yaml]

Get app details

doctl apps get [app_id]

Delete an app

doctl apps delete [app_id]

List app deployments

doctl apps list-deployments [app_id]

View deployment logs

doctl apps logs [app_id]

Update app spec

doctl apps update [app_id] --spec [app.yaml]

说明

doctl apps manages DigitalOcean App Platform applications. App Platform is a Platform-as-a-Service (PaaS) offering that builds, deploys, and scales apps automatically. The command handles the full app lifecycle: creating apps from specifications, managing deployments, viewing logs, and configuring scaling. App specs define services, workers, static sites, and jobs in YAML format. App Platform supports various runtimes including Docker, Node.js, Python, Go, and static sites, with automatic builds from Git repositories.

参数

list
List all applications.
create --spec _FILE_
Create app from specification.
get _APP_ID_
Get application details.
delete _APP_ID_
Delete application.
list-deployments _APP_ID_
List app deployments.
logs _APP_ID_
View application logs.
--spec _FILE_
App specification file (YAML).
--help
Display help information.

FAQ

What is the doctl-apps command used for?

doctl apps manages DigitalOcean App Platform applications. App Platform is a Platform-as-a-Service (PaaS) offering that builds, deploys, and scales apps automatically. The command handles the full app lifecycle: creating apps from specifications, managing deployments, viewing logs, and configuring scaling. App specs define services, workers, static sites, and jobs in YAML format. App Platform supports various runtimes including Docker, Node.js, Python, Go, and static sites, with automatic builds from Git repositories.

How do I run a basic doctl-apps example?

Run `doctl apps list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in doctl-apps?

List all applications.