Back to browse
docker
officialplatinum (7/8)Clean scan
Install
mayros skill install docker
mayros skill install [email protected]
Containerization, multi-stage builds, and orchestration guidance
README
@apilium/docker
Docker integration skill for Mayros -- containerization, multi-stage builds, Compose, and orchestration guidance.
Installation
Copy this skill directory into your Mayros skills folder:
cp -r skills/docker ~/.mayros/skills/docker
Or install via the Mayros CLI:
mayros skill install @apilium/docker
Prerequisites
Install Docker Desktop or Docker Engine:
# macOS
brew install --cask docker
# Linux
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
Verify: docker --version && docker compose version
Usage
Once configured, the agent can:
- Images: Build, list, pull, push, tag, and scan images
- Containers: Run, stop, remove, inspect, and view logs
- Compose: Manage multi-service applications with docker compose
- Multi-stage builds: Generate optimized Dockerfiles for Node.js, Python, Go, and Rust
- Security: Non-root users, vulnerability scanning, resource limits, health checks
- Orchestration: Generate Kubernetes manifests and compose profiles
Example prompts
"Create a multi-stage Dockerfile for my Node.js app"
"Show me running containers and their resource usage"
"Write a docker-compose.yml for a web app with Postgres and Redis"
"Scan my image for vulnerabilities"
"How do I set resource limits for my container?"
Semantic Predicates
| Predicate | Scope | Description |
|-----------|-------|-------------|
| docker:image_built | agent | Images built by the agent |
| docker:container_status | agent | Container status observed by the agent |
| docker:infra_context | namespace | Infrastructure context for enrichment |
License
MIT
Versions
Comments
Sign in to leave a comment.
Loading comments...