mcpField
D
docker-helper

docker-helper

github.com/jackspaceCloud & DevOps1660 installsUpdated 12w ago
Repository

About docker-helper

docker-helper is a skill for assisting with Docker tasks, aimed at people building and operating containers. It provides practical guidance on inspection, builds, networking, storage, and runtime configuration.

Key features

  1. 01Inspect containers, logs, and processes
  2. 02Apply multi-stage build practices
  3. 03Configure networking and volume mounts
  4. 04Set health checks and restart policies

Use cases

  1. 01Diagnose a running container
  2. 02Review Dockerfile build practices
  3. 03Check container network and volume configuration

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/jackspace/claudeskillz --skill docker-helper

After installing, type/docker-helperin Claude Code to confirm it loaded.

Bundled filesSKILL.json

Details

From the project README

Docker-helper

Instructions

When helping with Docker tasks:

  1. Check running containers: docker ps -a
  2. View logs: docker logs -f
  3. Inspect container: docker inspect
  4. Execute commands: docker exec -it /bin/bash
  • Use multi-stage builds to reduce image size
  • Order Dockerfile commands by frequency of change
  • Use .dockerignore to exclude unnecessary files
  • Avoid running as root; create non-privileged users
  • Use health checks in docker-compose
  • Networking: Check bridge networks and port mappings
  • Volumes: Verify volume mounts and permissions
  • Build cache: Use --no-cache when needed
  • Resource limits: Set memory/CPU limits appropriately
  • Use version 3+ syntax
  • Leverage environment files (.env)
  • Use depends_on with health checks
  • Implement restart policies

Examples

Add examples of how to use this skill here.

Notes

  • This skill was auto-generated
  • Edit this file to customize behavior

Comments

Markdown supported