Skip to content
docker-local-status logo

Docker-Local Status Skill

docker-local-status

Check docker-local environment status - all services, containers, and project accessibility

SKILL.md

Full skill instructions

Docker-Local Status Skill

Overview

This skill checks the complete status of the docker-local development environment, including:

  • Docker daemon status
  • Container states
  • Service health
  • Project accessibility
  • Network connectivity

Activation

Use this skill when:

  • User wants to know if Docker is running
  • User asks about service status
  • User needs to verify their environment
  • Troubleshooting connectivity issues

MANDATORY: Prerequisite Check

Before ANY docker-local command, verify installation:

which docker-local > /​dev/​null 2>&1

If docker-local is NOT found:

  1. Stop and ask the user if they want to install it
  2. If yes, install via: composer global require mwguerra/​docker-local
  3. Add to PATH: export PATH="$HOME/​.composer/​vendor/​bin:$PATH"
  4. Initialize: docker-local init
  5. Verify: which docker-local && docker-local --version

Process

1. Check Docker Installation

# 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"

2. Check Environment Status

# Full status report
docker-local status

# This shows:
# - All container states
# - Health check status
# - Port bindings
# - Uptime

3. Check Container States

# List all docker-local containers
docker compose -f ~/​.config/​docker-local/​docker-compose.yml ps -a

# Or using docker-local
docker-local status

4. Verify Services

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

5. Check Project Accessibility

# List all projects with their status
docker-local list

# This shows:
# - Project name
# - URL (https://project.test)
# - Status (accessible, DNS ok, not configured)

6. Test Connections

# 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

Expected Output

A healthy environment shows:

  • All containers in "Up" state
  • Health checks passing (healthy)
  • Projects accessible via *.test domains
  • Database connections working

Common Issues

Docker Not Running

Docker is NOT running

Solution: Start Docker Desktop (macOS/​Windows) or sudo systemctl start docker (Linux)

Containers Not Started

Container php: Exited

Solution: Run docker-local up to start containers

Port Conflicts

Error: Port 3306 already in use

Solution: Stop the conflicting service or change the port in config

DNS Not Configured

Status: DNS not configured

Solution: Run sudo docker-local setup:dns or add entries to /​etc/​hosts

Output Format

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

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View