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]
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dockerlabs - After installation, invoke the skill by name or use
/dockerlabs - Provide required inputs per the skill's parameter spec and get structured output
What is Dockerlabs?
Learn Docker hands-on with tutorials on containers and orchestration. Use when studying Docker, practicing networking, exploring swarm mode. It is an AI Agent Skill for Claude Code / OpenClaw, with 182 downloads so far.
How do I install Dockerlabs?
Run "/install dockerlabs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dockerlabs free?
Yes, Dockerlabs is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Dockerlabs support?
Dockerlabs is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dockerlabs?
It is built and maintained by bytesagain-lab (@bytesagain-lab); the current version is v2.0.0.