Skip to content

Start and Check the Stack

Runtime lifecycle commands manage local infrastructure only. They delegate to Docker Compose and keep product state changes in the Console.

ServiceDefault local port
API3000
STS8080
Gateway8081
Audit9090
Coordinator4000

Control runtime exposure is managed through the Console control menu, not by targeting a stack service directly from the runtime CLI.

Terminal window
caracal up

Development mode rebuilds local images. Release modes use installed compose assets and the selected Caracal version.

Terminal window
caracal down
caracal down -v

Use -v only when you intend to remove Docker volumes.

Terminal window
caracal status
caracal status --ready
caracal status --ready --json

status probes service health endpoints. status --ready probes readiness endpoints and dependencies. The command exits 0 only when the selected probes pass.

Terminal window
caracal purge

purge can remove stack artifacts, volumes, logs, config, runtime state, secrets, example containers and images, cached assets, or all local runtime state depending on the selected purge target. Use it when you intentionally want a clean local environment.

After a full purge, recreate product state through the Console: zones, applications, providers, resources, policies, Control keys, and generated runtime profiles.

SymptomLikely cause
status passes but status --ready failsA service is alive but one of its dependencies or readiness checks is not ready.
Console cannot connect after upCheck caracal status --ready; custom deployments should confirm the Management API URL override.
Workloads cannot exchange tokensReadiness for STS, Gateway, and audit must pass before debugging workload config.
Local tokens are stale after purge and upPrefer local generated secret files over exported shell tokens for localhost Console sessions.

Continue to Use the Console to create the first zone, application, provider, resource, policy, and runtime profile.