lc:docker-check

Validate synchronization between docker-compose, Dockerfile, and .env configuration files.

12|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/edulazaro/laraclaude --skill lc-docker-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc:docker-check
Source: https://github.com/edulazaro/laraclaude/tree/main/skills/docker-check
Command: npx skills add https://github.com/edulazaro/laraclaude --skill lc-docker-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves configuration drift and synchronization issues between your Docker infrastructure and application environment variables, preventing runtime failures and connectivity errors.

Core Features & Use Cases

  • Configuration Synchronization: Automatically aligns .env variables with docker-compose service definitions for databases, Redis, and mail services.
  • Conflict Detection: Identifies port binding conflicts and missing PHP extensions or version mismatches between Dockerfile and composer.json.
  • Use Case: Quickly verify that your local database connection settings match the service names defined in your docker-compose file to avoid connection refused errors.

Quick Start

Run the docker-check skill to analyze your current project configuration and report any synchronization issues.

Frequently Asked Questions about lc:docker-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Docker environment variables with my docker-compose services?

To sync Docker environment variables, validate your .env file against docker-compose service definitions to detect mismatches in database, Redis, or mail service configurations that cause runtime failures. Comparing these files ensures project-wide consistency.

Why does my Laravel Docker container fail to connect to the database?

Laravel Docker database connections fail when .env variables do not match the docker-compose service names. Validating configuration synchronization identifies these service name mismatches and port binding conflicts to prevent connectivity errors.

How do I check for missing PHP extensions in my Dockerfile?

Check for missing PHP extensions by comparing your Dockerfile against composer.json dependencies. Validating this synchronization detects version mismatches and missing extension requirements that cause runtime failures in your Docker environment.

Can I detect port binding conflicts in docker-compose before running my project?

Yes, you can detect port binding conflicts by validating your docker-compose configuration before running your project. Analyzing synchronization across Docker files identifies port conflicts and service name mismatches early, preventing runtime failures.

What is Docker configuration drift and how do I prevent it?

Docker configuration drift occurs when your docker-compose, Dockerfile, and .env files become unsynchronized, causing runtime failures. You prevent it by validating environment variables against container service definitions and composer dependencies to ensure consistency.