Check docker-local environment status - all services, containers, and project accessibility
Checks Docker daemon status, container health, and project accessibility for docker-local environment. Use when user asks about Docker status or needs to verify their development environment is working.
/plugin marketplace add mwguerra/claude-code-plugins/plugin install docker-local@mwguerra-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill checks the complete status of the docker-local development environment, including:
Use this skill when:
Before ANY docker-local command, verify installation:
which docker-local > /dev/null 2>&1
If docker-local is NOT found:
composer global require mwguerra/docker-localexport PATH="$HOME/.composer/vendor/bin:$PATH"docker-local initwhich docker-local && docker-local --version# Verify docker-local is installed
which docker-local
# Check Docker daemon
docker info > /dev/null 2>&1 && echo "Docker is running" || echo "Docker is NOT running"
# Full status report
docker-local status
# This shows:
# - All container states
# - Health check status
# - Port bindings
# - Uptime
# List all docker-local containers
docker compose -f ~/.config/docker-local/docker-compose.yml ps -a
# Or using docker-local
docker-local status
Check each service individually if needed:
# Check specific logs
docker-local logs mysql
docker-local logs postgres
docker-local logs redis
docker-local logs traefik
docker-local logs nginx
docker-local logs mailpit
docker-local logs minio
# List all projects with their status
docker-local list
# This shows:
# - Project name
# - URL (https://project.test)
# - Status (accessible, DNS ok, not configured)
# Test database connections
docker exec mysql mysqladmin ping -h localhost -u root -psecret
# Test Redis
docker exec redis redis-cli ping
# Test PostgreSQL
docker exec postgres pg_isready -U laravel
A healthy environment shows:
Docker is NOT running
Solution: Start Docker Desktop (macOS/Windows) or sudo systemctl start docker (Linux)
Container php: Exited
Solution: Run docker-local up to start containers
Error: Port 3306 already in use
Solution: Stop the conflicting service or change the port in config
Status: DNS not configured
Solution: Run sudo docker-local setup:dns or add entries to /etc/hosts
Report the status in a clear format:
Docker-Local Status
==================
Docker Daemon: Running
Environment: Up
Services:
- php: Running (healthy)
- mysql: Running (healthy)
- postgres: Running (healthy)
- redis: Running (healthy)
- traefik: Running (healthy)
- nginx: Running (healthy)
- mailpit: Running (healthy)
- minio: Running (healthy)
Projects:
- blog: https://blog.test (accessible)
- api: https://api.test (accessible)
$ARGUMENTS
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.