- CLAUDE.md with project docs and architecture - n8n-mcp config example (.mcp.json.example) - 7 gandalf skills (jump, hai, docker, status, remote-env, orchestrate, skills) - hai-infra + hai-tasks MCP server connections - .gitignore for secrets Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
52 lines
1.4 KiB
Markdown
52 lines
1.4 KiB
Markdown
---
|
|
description: Docker container management (local or remote)
|
|
argument-hint: [ps|logs|restart] [container] [@host]
|
|
---
|
|
|
|
# Docker Management
|
|
|
|
Manage Docker containers locally or on remote hosts.
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `ps` | List running containers |
|
|
| `logs <name>` | Show container logs |
|
|
| `restart <name>` | Restart container |
|
|
| `stop <name>` | Stop container |
|
|
| `start <name>` | Start container |
|
|
|
|
## Remote Hosts
|
|
|
|
Append `@host` to run on remote:
|
|
- `@hai` → hofmanns.ai (100.64.0.1)
|
|
- `@git` → git.hofmanns.tech (100.64.0.6)
|
|
- `@rtx` → local RTX machine
|
|
|
|
## Instructions
|
|
|
|
1. Parse: $ARGUMENTS
|
|
|
|
2. If `@host` suffix, run via SSH:
|
|
```bash
|
|
ssh user@host 'docker <command>'
|
|
```
|
|
|
|
3. Otherwise run locally:
|
|
```bash
|
|
docker <command>
|
|
```
|
|
|
|
4. Format output:
|
|
```
|
|
🐳 DOCKER STATUS [@hai]
|
|
┌────────────────┬─────────────┬────────┐
|
|
│ Container │ Status │ Ports │
|
|
├────────────────┼─────────────┼────────┤
|
|
│ caddy │ 🟢 Up 5d │ 80,443 │
|
|
│ synapse │ 🟢 Up 5d │ 8008 │
|
|
│ authentik │ 🟢 Up 5d │ 9000 │
|
|
└────────────────┴─────────────┴────────┘
|
|
```
|