forge stop
Stop a running deployment or app.
Command
forge stop <id> [--yes]
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
| string | yes | Deployment or app ID |
Flags
| Flag | Type | Default | Notes |
|---|---|---|---|
| bool | | Skip confirmation dialog |
Examples
Stop with confirmation:
forge stop deploy_xxxxx
Skip confirmation:
forge stop app_xxxxx --yes
Errors
| Exit code | Meaning |
|---|---|
| 0 | Stop queued successfully |
| 1 | Failed to stop |
Pitfalls
- Confirmation — by default, you are prompted to confirm. Use
to skip.--yes - Running containers — this stops all containers for the given deployment or app.
See also
{auto-injected}
Tested against
{auto-injected}