Dockerlabs
/install dockerlabs
Dockerlabs
Devtools toolkit for Docker-related workflows — check, validate, generate, format, lint, explain, convert, template, diff, preview, fix, and report on Docker configurations. All entries are logged locally with timestamps for full traceability.
Commands
| Command | Description |
|---|---|
dockerlabs check \x3Cinput> |
Check a Docker configuration or record a check entry |
dockerlabs validate \x3Cinput> |
Validate a Docker setup or record a validation entry |
dockerlabs generate \x3Cinput> |
Generate Docker artifacts or record a generation entry |
dockerlabs format \x3Cinput> |
Format Docker files or record a format entry |
dockerlabs lint \x3Cinput> |
Lint Dockerfiles or record a lint entry |
dockerlabs explain \x3Cinput> |
Explain Docker concepts or record an explanation entry |
dockerlabs convert \x3Cinput> |
Convert Docker configurations or record a conversion entry |
dockerlabs template \x3Cinput> |
Manage Docker templates or record a template entry |
dockerlabs diff \x3Cinput> |
Diff Docker configurations or record a diff entry |
dockerlabs preview \x3Cinput> |
Preview Docker setups or record a preview entry |
dockerlabs fix \x3Cinput> |
Fix Docker issues or record a fix entry |
dockerlabs report \x3Cinput> |
Generate reports or record a report entry |
dockerlabs stats |
Show summary statistics across all entry types |
dockerlabs export \x3Cfmt> |
Export all data (json, csv, or txt) |
dockerlabs search \x3Cterm> |
Search across all log entries |
dockerlabs recent |
Show the 20 most recent activity entries |
dockerlabs status |
Health check — version, data dir, entry count, disk usage |
dockerlabs help |
Show help with all available commands |
dockerlabs version |
Show current version (v2.0.0) |
Each command (check, validate, generate, format, lint, explain, convert, template, diff, preview, fix, report) works in two modes:
- No arguments: displays the 20 most recent entries from that command's log
- With arguments: records the input with a timestamp and appends to the command's log file
Data Storage
All data is stored locally at ~/.local/share/dockerlabs/. Each action is logged to its own file (e.g., check.log, lint.log, generate.log). A unified history.log tracks all operations. Use export to back up your data anytime in JSON, CSV, or plain text format.
Requirements
- bash 4+ (uses
set -euo pipefail) - Standard Unix utilities (
wc,du,grep,tail,sed,date)
When to Use
- Tracking Docker configuration checks, validations, and linting results
- Logging Docker file generation, conversion, and formatting operations
- Keeping an audit trail of Docker troubleshooting and fixes
- Exporting Docker operation history for reporting or compliance
- Searching past Docker operations by keyword
Examples
# Record a Dockerfile lint result
dockerlabs lint "Dockerfile uses latest tag — pin to specific version"
# Record a validation check
dockerlabs validate "docker-compose.yml syntax OK, 3 services defined"
# Generate a template entry
dockerlabs generate "multi-stage build for Node.js app"
# View recent lint entries
dockerlabs lint
# Search for entries mentioning "nginx"
dockerlabs search nginx
# Export all data as JSON
dockerlabs export json
# Check overall health
dockerlabs status
# View summary stats
dockerlabs stats
Powered by BytesAgain | bytesagain.com | [email protected]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dockerlabs - 安装完成后,直接呼叫该 Skill 的名称或使用
/dockerlabs触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Dockerlabs 是什么?
Learn Docker hands-on with tutorials on containers and orchestration. Use when studying Docker, practicing networking, exploring swarm mode. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 182 次。
如何安装 Dockerlabs?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dockerlabs」即可一键安装,无需额外配置。
Dockerlabs 是免费的吗?
是的,Dockerlabs 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dockerlabs 支持哪些平台?
Dockerlabs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dockerlabs?
由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.0。