praisonai deploy run --type docker.
Quick Start - CLI
1
Install PraisonAI
2
Set API Key
3
Initialize Docker Config
4
Deploy to Docker
5
Verify
Quick Start - SDK
1
Create Deploy Script
2
Run
agents.yaml with Docker Config
Docker Config Options
In-container API server (sibling api: block)
Docker deploys generate a Flask API server inside the container. Configure it with a sibling api: block under deploy:.
The sibling
api: block is type: docker-only. On type: cloud, the block is dropped (cloud providers shell out to external CLIs and do not generate the API server).Push to Registry
Check Status
Stop Container
praisonai deploy destroy is cross-platform: on Windows it locates the API process with netstat -ano and terminates it with taskkill, falling back to lsof + SIGTERM on POSIX. This prevents orphaned background Flask API servers after teardown.Environment Variables
*Required if using OpenAI models.
Troubleshooting
Manual Docker Commands (Optional)
Manual Docker Commands (Optional)
These commands are for manual validation only. Use
praisonai deploy for deployment.Related
- Deploy CLI Overview - All deploy commands
- API Deploy - Deploy as local API server
- AWS Deploy - Deploy to AWS ECS/Fargate
- GCP Deploy - Deploy to Google Cloud Run

