# learn-docker-k8s-game

Turns your terminal into a narrative game for learning Docker, Linux, and Kubernetes. You solve real infrastructure breakdowns at a fictional coffee startup.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 793 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/learn-docker-k8s-game/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/learn-docker-k8s-game

## What it does

This skill puts you inside the terminal of a messy startup called NoCappuccino Inc. Your AI agent acts as Sarah, a senior DevOps mentor who hands out tasks when the CTO breaks staging. You learn how to run containers, map network ports, inspect processes, and handle container persistence right inside your editor terminal.

The curriculum spans 7 chapters, progressing from basic image caching and multi-stage builds to Docker Compose, Kubernetes Pods, Deployments, and HPA. The agent executes local `verify.sh` test scripts to confirm your solutions. Your progress and hints are automatically saved into `.player/progress.yaml`.

You must have Docker and Docker Compose v2 installed before running chapter 1. Cluster utilities like `kubectl` and `kind` are optional until you reach chapters 6 and 7.

## Requirements
- Works with: Docker, Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill learn-docker-k8s-game -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/learn-docker-k8s-game/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/learn-docker-k8s-game/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill learn-docker-k8s-game -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/learn-docker-k8s-game/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill learn-docker-k8s-game -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/learn-docker-k8s-game/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills learn-docker-k8s-game
```

2. **Manually: put the files in place**
- File: `.github/skills/learn-docker-k8s-game/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill learn-docker-k8s-game -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/learn-docker-k8s-game
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/learn-docker-k8s-game/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill learn-docker-k8s-game -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/learn-docker-k8s-game/SKILL.md

## When to use it
- learn core Docker container commands through hands-on tasks
- optimize container images using multi-stage builds and layer caching
- attach persistent storage with Docker volumes and bind mounts
- configure multi-container setups using Docker Compose
- troubleshoot Kubernetes Deployments, Services, and auto-scaling

## Example prompts
- let's play the docker learning game
- /env-check
- /verify

## Similar
- [docker-containerization](https://affpapa.org/en/nevibecode/skills/docker-containerization.md) — skill · 1100 installs
- [container-escape-techniques](https://affpapa.org/en/nevibecode/skills/container-escape-techniques.md) — skill · 3600 installs
- [gke-app-onboarding](https://affpapa.org/en/nevibecode/skills/gke-app-onboarding.md) — skill · 6489 installs
- [docker-expert](https://affpapa.org/en/nevibecode/skills/sickn33-docker-expert.md) — skill · 27300 installs
- [docker-patterns](https://affpapa.org/en/nevibecode/skills/docker-patterns.md) — skill · 6400 installs
- [docker-compose-orchestration](https://affpapa.org/en/nevibecode/skills/docker-compose-orchestration.md) — skill · 2900 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 199 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
