container-inspector
OfficialDocker container insights, simplified.
Authormikopbx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Debugging, testing, and managing MikoPBX Docker containers (mikopbx_php83/mikopbx_php74) can be complex, involving manual IP/port discovery, restarts, and worker management. This Skill automates these tasks, saving you time and reducing manual errors.
Core Features & Use Cases
- Connection Parameter Retrieval: Instantly get container IP addresses, HTTP/HTTPS/SIP/SSH ports, and API URLs. Perfect for setting up API or Playwright tests.
- Container & Worker Management: Gracefully restart entire containers or specific worker processes (e.g.,
WorkerApiCommands) with robust health checks. Essential for quick reloads after code changes. - Troubleshooting & Health Checks: Verify container status, service health (PHP-FPM, Redis, Asterisk, Web), and retrieve default credentials. Quickly diagnose and resolve connectivity issues.
- Use Case: Before running API tests, use this skill to quickly get the correct API endpoint URL and credentials for your
mikopbx_php83container. After modifying REST API code, restart only theWorkerApiCommandsworker for a fast, targeted reload, avoiding a full container restart.
Quick Start
Get all container info
.claude/skills/container-inspector/scripts/get-container-info.sh
Restart container with service wait
.claude/skills/container-inspector/scripts/restart-container.sh mikopbx_php83 --wait-services
Dependency Matrix
Required Modules
DockerBashcurl
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: container-inspector Download link: https://github.com/mikopbx/Core/archive/main.zip#container-inspector Please download this .zip file, extract it, and install it in the .claude/skills/ directory.