Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:17:12 +08:00
commit b923023331
12 changed files with 860 additions and 0 deletions

60
commands/container.md Normal file
View File

@@ -0,0 +1,60 @@
---
description: Manage container services (Qdrant, MeiliSearch)
argument-hint: <start|stop|status|logs|restart|reset> [options]
---
Manage Docker container services for Qdrant and MeiliSearch.
**Subcommands:**
- start: Start all services
- stop: Stop all services
- status: Show service status and health
- logs: View service logs
- restart: Restart services
- reset: Delete all data and reset (WARNING: destructive)
**Arguments:**
- --follow, -f: Follow log output (logs command only)
- --tail <n>: Number of log lines to show (logs command, default: 100)
- --confirm: Confirm data deletion (reset command only)
**Examples:**
```text
/container start
/container status
/container logs
/container logs --follow
/container stop
/container restart
/container reset --confirm
```
**Execution:**
```bash
cd ${CLAUDE_PLUGIN_ROOT}
arc container $ARGUMENTS
```
**Note:** Container management commands check Docker availability and provide
helpful error messages if Docker is not running. I'll show you:
- Service startup confirmation with URLs
- Health check status for Qdrant
- Data directory locations and sizes
- Log output for debugging
**Data Locations:**
- Qdrant: ~/.arcaneum/data/qdrant/
- Snapshots: ~/.arcaneum/data/qdrant_snapshots/
- All data persists across container restarts
**Related:**
- Implemented in arcaneum-167, renamed in arcaneum-169
- Replaces old scripts/qdrant-manage.sh
- Part of simplified Docker management (arcaneum-158)