AgentSkillsCN

docker-ops

精通该项目中 Docker 服务的管理,包括 Redis、Ollama、Open WebUI、Grafana、Prometheus 以及 Dozzle。当您需要处理容器、Docker Compose,或排查服务连通性问题时,可使用此技能。

SKILL.md
--- frontmatter
name: docker-ops
description: >
    Expertise for managing Docker services in this project including Redis, Ollama, Open WebUI,
    Grafana, Prometheus, and Dozzle. Use when working with containers, Docker Compose,
    or troubleshooting service connectivity.

Docker Operations Expert

Specialized knowledge for the Docker infrastructure in this project.

Services (docker-compose.yml)

ServicePortPurpose
Ollama11434Local LLM server
Open WebUI3001Chat interface
Redis6379Caching & task queue
Redis Insight5540Redis management UI
Grafana3000Monitoring dashboards
Prometheus9090Metrics collection
Dozzle8888Container log viewer

Common Operations

Start/Stop

bash
docker compose up -d          # Start all
docker compose down           # Stop all
docker compose restart redis  # Restart specific

Health Check

bash
docker compose ps
docker compose logs -f ollama
curl -sI localhost:5005/status  # MCP server

Cleanup

bash
docker system prune -f        # Remove unused
docker volume prune -f        # Remove volumes
docker image prune -a -f      # Remove images

Troubleshooting

bash
# Check container logs
docker logs tools-automation-redis-1

# Enter container shell
docker exec -it tools-automation-ollama-1 sh

# Check resource usage
docker stats

Network

All services on tools_network bridge network. Internal DNS uses service names (e.g., redis:6379).