stop command gracefully shuts down all Shannon containers. Optionally, it can remove all data including Docker volumes, workspaces, and cached images.
Basic Usage
Behavior
Default Stop (Data Preserved)
- Gracefully stops all running containers:
temporal(Temporal server)worker(Shannon worker)router(claude-code-router, if usingROUTER=true)
- Preserves all data:
- Workflow state in Temporal database
- Audit logs in
./audit-logs/ - Deliverables in
./repos/<repo>/deliverables/ - Docker volumes (Temporal database, Elasticsearch)
- Allows resume from last state
- Temporarily stopping Shannon
- Switching between projects
- System maintenance
- Preserving workflow history for later resume
Clean Stop (Remove All Data)
Remove all data including Docker volumesDeletes:
- Temporal database (all workflow history)
- Elasticsearch data (log storage)
- Docker volumes
- Container state
- Audit logs in
./audit-logs/ - Deliverables in
./repos/<repo>/deliverables/ - Source repositories in
./repos/ - Configuration files
- Complete reset needed
- Troubleshooting Temporal issues
- Freeing disk space
- Starting fresh environment
Examples
Standard Workflow
Clean Restart
Development Testing
What Gets Preserved
Default Stop (./shannon stop)
| Data Type | Location | Preserved? |
|---|---|---|
| Workflow state | Temporal DB | ✅ Yes |
| Workflow history | Temporal DB | ✅ Yes |
| Audit logs | ./audit-logs/ | ✅ Yes |
| Deliverables | ./repos/<repo>/deliverables/ | ✅ Yes |
| Docker volumes | Docker | ✅ Yes |
| Configuration | .env, ./configs/ | ✅ Yes |
| Source repositories | ./repos/ | ✅ Yes |
Clean Stop (./shannon stop CLEAN=true)
| Data Type | Location | Preserved? |
|---|---|---|
| Workflow state | Temporal DB | ❌ Deleted |
| Workflow history | Temporal DB | ❌ Deleted |
| Audit logs | ./audit-logs/ | ✅ Yes |
| Deliverables | ./repos/<repo>/deliverables/ | ✅ Yes |
| Docker volumes | Docker | ❌ Deleted |
| Configuration | .env, ./configs/ | ✅ Yes |
| Source repositories | ./repos/ | ✅ Yes |
Container Management
Stopped Containers
After./shannon stop, containers remain but are stopped:
- Fast restart with
./shannon start - No re-download of images
- Preserved volume mounts
Removed Containers
After./shannon stop CLEAN=true, containers are removed:
- Next
./shannon startrecreates containers - Volumes deleted (Temporal DB, Elasticsearch)
- Images remain cached (no re-download needed)
Resume After Stop
Resume After Default Stop
- Containers restart with preserved volumes
- Temporal DB contains complete workflow history
- Audit logs indicate completed agents
- Workflow resumes from last checkpoint
No Resume After Clean Stop
- Temporal DB is empty (no workflow history)
- Audit logs still exist but not linked to active workflow
- New workflow starts from beginning
- Can still access old audit logs and deliverables manually
Even after
CLEAN=true, you can manually inspect previous audit logs in ./audit-logs/<workspace-id>/ and deliverables in ./repos/<repo>/deliverables/.Stopping Router
If using multi-model routing (ROUTER=true), the router container is also stopped:
router container using --profile router.
Manual Container Management
For advanced users, you can manage containers directly:View Running Containers
Stop Specific Container
Remove Containers Without Volumes
Remove Volumes Manually
Disk Space Management
Shannon containers and volumes can consume significant disk space:Check Disk Usage
Free Disk Space
Troubleshooting
Containers Won’t Stop
Volumes Won’t Delete
”Container Already Stopped” Error
This is harmless:Temporal Not Healthy After Restart
Best Practices
Daily Workflow
Project Switching
Development Testing
Pre-Production Validation
Next Steps
Start Command
Learn how to start workflows
Workspaces
Manage workspaces and resume
Troubleshooting
Common issues and solutions
Platform Setup
Docker and Podman configuration
