containers-skill

Docker and Kubernetes - containerization, orchestration, and production deployment.

16 stars

Best use case

containers-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Docker and Kubernetes - containerization, orchestration, and production deployment.

Teams using containers-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/containers-skill/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/devops/containers-skill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/containers-skill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How containers-skill Compares

Feature / Agentcontainers-skillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Docker and Kubernetes - containerization, orchestration, and production deployment.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Containers & Orchestration Skill

## Overview
Master Docker and Kubernetes for production deployments.

## Parameters
| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| platform | string | No | both | docker/kubernetes |
| operation | string | Yes | - | Operation type |

## Core Topics

### MANDATORY
- Docker fundamentals (images, containers, volumes)
- Dockerfile best practices (multi-stage, security)
- Docker Compose
- Kubernetes architecture
- Deployments, Services, Ingress
- Health checks

### OPTIONAL
- Helm charts
- ConfigMaps and Secrets
- Persistent storage
- Network policies

### ADVANCED
- Custom operators
- Service mesh
- Multi-cluster strategies

## Quick Reference

```bash
# Docker
docker build -t app:v1 .
docker run -d -p 8080:80 --name app app:v1
docker logs -f container
docker exec -it container sh
docker system prune -af

# Docker Compose
docker compose up -d
docker compose logs -f
docker compose down -v

# Kubernetes
kubectl get pods -A
kubectl describe pod pod-name
kubectl logs -f pod-name
kubectl exec -it pod-name -- sh
kubectl apply -f manifest.yaml
kubectl rollout status deployment/app
kubectl rollout undo deployment/app

# Debugging
kubectl get events --sort-by='.lastTimestamp'
kubectl top pods
kubectl run debug --rm -it --image=busybox -- sh

# Helm
helm install release chart
helm upgrade release chart
helm rollback release 1
```

## Troubleshooting

### Common Failures
| Symptom | Root Cause | Solution |
|---------|------------|----------|
| ImagePullBackOff | Image not found | Verify name, check creds |
| CrashLoopBackOff | Container crashing | Check logs, verify CMD |
| Pending | Cannot schedule | Check resources, selectors |
| OOMKilled | Out of memory | Increase limits |

### Debug Checklist
1. Pod status: `kubectl get pods -o wide`
2. Events: `kubectl describe pod`
3. Logs: `kubectl logs pod --previous`
4. Resources: `kubectl top pods`

### Recovery Procedures

#### CrashLoopBackOff
1. Get logs: `kubectl logs pod --previous`
2. Check events: `kubectl describe pod`
3. Test locally: `docker run -it image sh`

## Resources
- [Docker Docs](https://docs.docker.com)
- [Kubernetes Docs](https://kubernetes.io/docs)

Related Skills

dotnet-containers

16
from diegosouzapw/awesome-omni-skill

Containerizes .NET apps. Multi-stage Dockerfiles, SDK container publish (.NET 8+), rootless.

devcontainers

16
from diegosouzapw/awesome-omni-skill

Expert in creating devcontainer configurations using DuploCloud features. Use when setting up development environments, configuring devcontainer.json, or adding DuploCloud tooling to a workspace. Knows feature detection, cloud CLI setup, Kubernetes access, AI tools, and 1Password SSH integration.

testcontainers-integration-tests

16
from diegosouzapw/awesome-omni-skill

Use when integration tests require real infrastructure (database, message queue, cache) or when mocking infrastructure is insufficient. Defines container lifecycle, test isolation, and performance optimization for Testcontainers-based testing.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

k8s-gen

16
from diegosouzapw/awesome-omni-skill

Generate Kubernetes manifests from docker-compose or descriptions. Use when deploying to K8s.

k8s-deploy-auto

16
from diegosouzapw/awesome-omni-skill

Kubernetes deployment automation workflows for CI/CD pipelines, GitOps, and scripted deployments. Use when automating k8s deployments, creating deployment scripts, integrating with GitHub Actions/GitLab CI, implementing rollout strategies, or setting up ArgoCD/Flux workflows.

k8s-debug

16
from diegosouzapw/awesome-omni-skill

Comprehensive Kubernetes debugging and troubleshooting toolkit. Use this skill when diagnosing Kubernetes cluster issues, debugging failing pods, investigating network connectivity problems, analyzing resource usage, troubleshooting deployments, or performing cluster health checks.

k8s-cilium

16
from diegosouzapw/awesome-omni-skill

Cilium and Hubble network observability for Kubernetes. Use when managing network policies, observing traffic flows, or troubleshooting connectivity with eBPF-based networking.

jumpcloud-automation

16
from diegosouzapw/awesome-omni-skill

Automate Jumpcloud tasks via Rube MCP (Composio). Always search tools first for current schemas.

julien-infra-hostinger-database

16
from diegosouzapw/awesome-omni-skill

Manage shared database instances on Hostinger VPS srv759970 - PostgreSQL, Redis, MongoDB operations. Use for database connections, backups, user management, performance checks, or troubleshooting database issues.

johnny-decimal

16
from diegosouzapw/awesome-omni-skill

Johnny Decimal + PARA organization

jigsawstack-automation

16
from diegosouzapw/awesome-omni-skill

Automate Jigsawstack tasks via Rube MCP (Composio). Always search tools first for current schemas.