Skip to content

Docker-local (mwguerra/docker-local) CLI expert for Laravel Docker development environments.

CCM score
54 of 100
version
1.0.0
GitHub stars
35
View on GitHub

Own this plugin? Claim it

What it does

  • Diagnoses issues, checks conflicts, manages databases, queues, Xdebug, and guides users through setup and troubleshooting
  • Includes 1 agent: docker-local-agent
  • Includes 1 skill: reference

Add marketplace

/plugin marketplace add mwguerra/claude-code-plugins

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install docker-local@mwguerra-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

docker-local Reference

Quick reference for docker-local Laravel development environment.

When to Use

Use this reference when you need details about:

  • Service credentials and ports
  • docker-local CLI commands
  • File paths and project structure
  • .env configuration requirements

Service Credentials (Defaults)

ServiceHostPortUserPassword
MySQLmysql3306laravelsecret
PostgreSQLpostgres5432laravelsecret
Redisredis6379--
Mailpitmailpit1025--
MinIOminio9000miniominio123

Root MySQL password: secret

URLs

ServiceURL
Projectshttps://{project}.test
Subdomainshttps://{sub}.{project}.test
Traefikhttps://traefik.localhost:8080
Mailpithttps://mail.localhost
MinIO Consolehttps://minio.localhost

Key Commands

Status & Health

docker-local status          # Check all services and containers
docker-local doctor          # Full health check with diagnostics
docker-local fix             # Auto-fix common issues

Container Management

docker-local up              # Start all containers
docker-local down            # Stop all containers
docker-local restart         # Restart all containers
docker-local logs [service]  # View logs (nginx, php, mysql, redis, traefik)

Project Management

docker-local link            # Rescan and link all projects
docker-local list            # List all detected projects
docker-local make:laravel X  # Create new Laravel project
docker-local open [project]  # Open project in browser

SSL Certificates

docker-local ssl:status      # Check certificate status
docker-local ssl:regenerate  # Regenerate all certificates

Database

docker-local db:create X     # Create MySQL database
docker-local db:mysql        # Open MySQL CLI
docker-local db:postgres     # Open PostgreSQL CLI
docker-local db:redis        # Open Redis CLI
docker-local db:fresh        # Run migrate:fresh --seed

Environment

docker-local env:check       # Check .env for conflicts
docker-local config          # Show current configuration

File Paths

PathPurpose
~/projects/Default projects directory
~/projects/.docker-local-links/Symlinks for Nginx routing
~/.config/docker-local/Configuration directory
~/.config/docker-local/config.jsonMain config file
~/.config/docker-local/certs/SSL certificates

Required .env Settings

For Laravel projects to work with docker-local:

APP_URL=https://myproject.test

# Database (MySQL)
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=myproject
DB_USERNAME=laravel
DB_PASSWORD=secret

# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=null

# Cache/Session/Queue isolation (unique per project)
CACHE_PREFIX=myproject_
REDIS_CACHE_DB=0
REDIS_SESSION_DB=1
REDIS_QUEUE_DB=2

# Mail
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025

# S3/MinIO (optional)
AWS_ACCESS_KEY_ID=minio
AWS_SECRET_ACCESS_KEY=minio123
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=myproject
AWS_ENDPOINT=http://minio:9000
AWS_USE_PATH_STYLE_ENDPOINT=true

Troubleshooting Quick Reference

SymptomLikely CauseFix
404 errorMissing symlinkdocker-local link
"Site can't be reached"DNS not configuredCheck /etc/hosts or dnsmasq
Certificate errorCerts not generateddocker-local ssl:regenerate
Certificate still failingmkcert not trustedsudo mkcert -install
Container unhealthyService crashdocker-local restart
DB connection refusedWrong DB_HOSTUse mysql not 127.0.0.1

Multi-Project Isolation

Each project needs unique values to avoid conflicts:

  • Database name - Unique per project
  • Redis DBs - 3 DBs per project (0-2, 3-5, 6-8, etc.)
  • Cache prefix - Unique string per project
  • MinIO bucket - Unique per project

Use docker-local env:check --all to detect conflicts across projects.

From the mwguerra/claude-code-plugins README

mwguerra Claude Code Plugins

A collection of Claude Code plugins for development workflows.

Installation

# Add the marketplace
/plugin marketplace add mwguerra/claude-code-plugins

# Browse and install plugins
/plugin

Available Plugins

article-writer

Create publication-ready technical articles with author voice profiles, web research, runnable code examples, and multi-language output. Supports interactive single-article creation or autonomous batch processing.

/plugin install article-writer@mwguerra-marketplace

code

Production readiness toolkit with code cleanup, comprehensive analysis, and automated testing. Removes debug artifacts for clean commits, runs Pest and Playwright tests, and prepares apps for deployment.

/plugin install code@mwguerra-marketplace

docs-specialist

Generate and maintain documentation from code with drift detection. Validates docs against source, auto-generates from code patterns, syncs outdated content, and provides reusable templates.

/plugin install docs-specialist@mwguerra-marketplace

docker-local

Expert agent for docker-local (mwguerra/docker-local) Laravel Docker development environment. Manages Docker services, diagnoses issues, checks project conflicts, handles database operations, and troubleshoots environment setup.

/plugin install docker-local@mwguerra-marketplace

docker-specialist

Docker and Docker Compose expert with complete documentation. Generates Dockerfiles, compose configs, database containers, SSL/TLS setup with Traefik or Nginx, and provides troubleshooting.

/plugin install docker-specialist@mwguerra-marketplace

e2e-test-specialist

Comprehensive E2E testing using Playwright MCP. Creates detailed test plans, tests all pages for errors, verifies user flows by role, and runs visual browser tests with full coverage.

/plugin install e2e-test-specialist@mwguerra-marketplace

filament-specialist

Expert FilamentPHP v4 assistant with complete official documentation. Generates resources, forms, tables, actions, widgets, infolists, and Pest tests following v4 patterns.

/plugin install filament-specialist@mwguerra-marketplace

laravel-filament-package-development-specialist

Scaffold and develop Laravel packages and Filament plugins with full testing support. Creates package structure, configures Pest testing, sets up GitHub Actions CI.

/plugin install laravel-filament-package-development-specialist@mwguerra-marketplace

post-development

App launch preparation toolkit with SEO analysis, automated screenshots, buyer persona creation, social media ad generation, technical article writing, and landing page proposals.

/plugin install post-development@mwguerra-marketplace

taskmanager

Plan and execute tasks from PRDs with hierarchical subtasks, dependency tracking, and project memories. Features dashboard visualization, autonomous batch execution, and persistent memory.

/plugin install taskmanager@mwguerra-marketplace

terminal-specialist

Terminal and shell systems expert with comprehensive documentation. Covers TTY/PTY architecture, stdin/stdout/stderr streams, signals, ANSI escape sequences, job control, and terminal modes.

/plugin install terminal-specialist@mwguerra-marketplace

test-specialist

Proactive Pest 4 testing for PHP, Laravel, Livewire, and Filament apps. Auto-generates tests for models, controllers, policies, and Livewire components. Analyzes coverage gaps.

/plugin install test-specialist@mwguerra-marketplace

obsidian-vault

Manage an Obsidian vault as your development knowledge base and automatic work journal. Auto-captures commits, tasks, and Claude Code components with structured frontmatter.

/plugin install obsidian-vault@mwguerra-marketplace

error-memory

Intelligent error tracking and solution recall system. Learns from every error you solve, providing instant access to past solutions with multi-level matching and confidence scores.

/plugin install error-memory@mwguerra-marketplace

prd-builder

Interactive PRD (Product Requirements Document) builder with comprehensive interview-driven discovery, gap analysis, and taskmanager integration.

/plugin install prd-builder@mwguerra-marketplace

my-workflow

Personal workflow management combining assistant, secretary, and executive roles. Tracks sessions, commitments, decisions, and goals. Integrates with GitHub and Obsidian vault. Provides intelligent briefings and productivity insights.

/plugin install my-workflow@mwguerra-marketplace

Reinstall Script

If you need to completely reinstall all marketplace plugins (useful after updates or to fix issues), add this script to ~/.claude/reinstall_marketplace.sh:

#!/bin/bash

# Delete marketplaces cleanup script
# Removes marketplace plugins and related configuration

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

echo "Cleaning up marketplace plugins..."

# Delete installed_plugins.json
if [ -f "$SCRIPT_DIR/plugins/installed_plugins.json" ]; then
    rm "$SCRIPT_DIR/plugins/installed_plugins.json"
    echo "Deleted: plugins/installed_plugins.json"
else
    echo "Not found: plugins/installed_plugins.json"
fi

# Delete marketplaces folder
if [ -d "$SCRIPT_DIR/plugins/marketplaces" ]; then
    rm -rf "$SCRIPT_DIR/plugins/marketplaces"
    echo "Deleted: plugins/marketplaces/"
else
    echo "Not found: plugins/marketplaces/"
fi

if [ -d "$SCRIPT_DIR/plugins/cache" ]; then
    rm -rf "$SCRIPT_DIR/plugins/cache"
    echo "Deleted: plugins/cache/"
else
    echo "Not found: plugins/cache/"
fi

# Remove enabledPlugins from settings.json using jq or sed
if [ -f "$SCRIPT_DIR/settings.json" ]; then
    if command -v jq &> /dev/null; then
        # Use jq if available
        jq 'del(.enabledPlugins)' "$SCRIPT_DIR/settings.json" > "$SCRIPT_DIR/settings.json.tmp" && \
        mv "$SCRIPT_DIR/settings.json.tmp" "$SCRIPT_DIR/settings.json"
        echo "Removed enabledPlugins from settings.json"
    else
        # Fallback to Python if jq not available
        python3 -c "
import json
with open('$SCRIPT_DIR/settings.json', 'r') as f:
    data = json.load(f)
if 'enabledPlugins' in data:
    del data['enabledPlugins']
with open('$SCRIPT_DIR/settings.json', 'w') as f:
    json.dump(data, f, indent=2)
    f.write('\n')
"
        echo "Removed enabledPlugins from settings.json"
    fi
else
    echo "Not found: settings.json"
fi

# Function to reinstall a marketplace and all its plugins
reinstall_marketplace() {
    local marketplace_name="$1"
    local marketplace_repo="$2"
    local marketplace_dir="$SCRIPT_DIR/plugins/marketplaces/$marketplace_name"

    echo "Reinstalling marketplace: $marketplace_name"
    claude plugin marketplace remove "$marketplace_name"
    claude plugin marketplace add "$marketplace_repo"

    if [ -d "$marketplace_dir" ]; then
        echo "Installing plugins from $marketplace_name..."
        for plugin_dir in "$marketplace_dir"/*/; do
            local plugin_name=$(basename "$plugin_dir")
            # Skip hidden directories (like .git, .claude-plugin)
            if [[ "$plugin_name" != .* ]]; then
                echo "Installing: $plugin_name@$marketplace_name"
                claude plugin install "$plugin_name@$marketplace_name"
            fi
        done
    else
        echo "Error: Marketplace directory not found at $marketplace_dir"
        return 1
    fi
}

# Reinstall marketplaces
reinstall_marketplace "mwguerra-marketplace" "mwguerra/claude-code-plugins"

# Make all .sh files executable in plugins directory
echo "Making .sh files executable in plugins directory..."
find "$SCRIPT_DIR/plugins" -name "*.sh" -type f -exec chmod +x {} \;
echo "Done setting permissions."

echo "Done!"

Usage:

# Make executable
chmod +x ~/.claude/reinstall_marketplace.sh

# Run to reinstall all plugins
~/.claude/reinstall_marketplace.sh

Requirements

  • Claude Code

License

MIT

Details

Marketplace
mwguerra/claude-code-plugins
Source
docker-local
Category
Devops
Keywords
docker-local, laravel, docker, troubleshooting, ssl, dns, traefik, development-environment, php, mysql, postgresql, redis, minio, xdebug, multi-project, mailpit
Listed since
Apr 7, 2026

Questions

What does the docker-local plugin do for Claude Code?

The docker-local plugin adds a Laravel Docker expert agent to Claude Code, with commands for managing PHP, MySQL, PostgreSQL, Redis, MinIO and Traefik services. It diagnoses issues, checks project conflicts, handles database operations and guides troubleshooting of Laravel Docker environments.

How do I install the docker-local plugin?

Run /plugin marketplace add mwguerra/claude-code-plugins first, then /plugin install docker-local@mwguerra-marketplace inside Claude Code. The docker-local plugin then gives Claude Code its Laravel Docker troubleshooting agent and reference skill.

Which plugins lead the DevOps & Cloud category that docker-local belongs to?

The DevOps & Cloud category on Claude Marketplaces is led by ruflo-observability, ruflo-ruos, container, better-stack-automation and buildkite-automation. The docker-local plugin focuses on Laravel development environments, covering multi-project isolation and Xdebug setup.

Is docker-local useful for Laravel developers using Traefik and multi-project setups?

Yes, the docker-local plugin is built for Laravel Docker development environments that use Traefik for routing and SSL. It also checks conflicts between projects, so several Laravel apps can run side by side on one machine.

More from mwguerra/claude-code-plugins

All 18

Similar to docker-local

More DevOps & Cloud