docker-helper
Dockerfile生成、docker-compose编排、命令速查、调试排错、镜像优化、仓库配置. Use when you need docker helper capabilities. Triggers on: docker helper.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/docker-helperWhat This Skill Does
docker-helper is a powerful OpenClaw agent skill designed to streamline the lifecycle of containerized applications. It acts as an expert DevOps assistant that handles Dockerfile generation, complex docker-compose orchestration, command retrieval, and deep-level debugging. Whether you are setting up a local development environment, optimizing production-ready images, or configuring private container registries, this tool provides standardized, efficient, and best-practice solutions. It is specifically optimized for Chinese-speaking developers, ensuring that all explanations, command suggestions, and troubleshooting steps are communicated clearly and contextually.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface. Execute the following command in your terminal: clawhub install openclaw/skills/skills/ckchzh/docker-helper
Use Cases
- Infrastructure as Code: Quickly generate optimized Dockerfiles for various programming languages (e.g., Node.js, Python, PHP) to standardize project builds.
- Complex Orchestration: Define multi-service architectures using docker-compose, ensuring proper networking, volume mapping, and environment variable management.
- Performance Tuning: Analyze existing images to implement multi-stage builds and layer reduction, significantly decreasing pull times and storage footprints.
- Troubleshooting: Diagnose failed container deployments by analyzing container logs, exit codes, and resource limitations.
- Workflow Automation: Quickly query complex Docker CLI syntax or registry push/pull commands without switching contexts to external documentation.
Example Prompts
- "docker-helper: Generate a multi-stage Dockerfile for a React frontend and a Node.js Express backend using a single compose file."
- "docker-helper debug: My container is exiting immediately with code 137. How can I identify if this is an out-of-memory error?"
- "docker-helper optimize: Here is my current Dockerfile [paste content]. How can I consolidate the RUN instructions to minimize layers?"
Tips & Limitations
- Best Practices: Always pin your base image versions instead of using 'latest' to ensure environment reproducibility.
- Security: Remember to utilize '.dockerignore' to exclude sensitive local files, such as .env credentials or git history, from being built into your images.
- Performance: Place high-frequency changing build steps (like copying source code) after low-frequency steps (like installing dependencies) to maximize Docker layer caching.
- Constraints: This skill is a generative tool; while it provides high-quality boilerplate, complex network security policies or niche kernel configurations may still require manual review by a system administrator.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-docker-helper": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
header
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
rsyslog
RSyslog advanced system logging reference. RainerScript configuration, input/output modules (imtcp/imfile/omfwd/omelasticsearch), templates with property replacer, content-based filtering, TLS-encrypted remote logging, queue performance tuning, and debug troubleshooting.
Fitness Plan — Science-Based Training & Workout Auditor
Track workouts, calculate BMI/1RM, and access exercise science guides. 支持科学健身计划制定、BMI/最大力量计算及运动解剖学参考。Use when planning gym sessions, calculating macro needs, or auditing training splits.
pesticide
Pesticide management reference — chemical classes, application methods, IPM strategies, residue limits, safety protocols. Use when selecting pest control products, calculating spray rates, or managing pesticide compliance.
Mileage
Log vehicle mileage, review driving trends, and export trip reports for tracking. Use when logging trips, tracking fuel economy, exporting mileage data.