# Stop Preview

> Stop a running MkDocs preview server. Use when port 8000 is busy, switching tasks, or done editing documentation.

- Skill: `nextflow-io/stop-preview` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nextflow-io/stop-preview`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nextflow-io/stop-preview/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: nextflow-io (https://skillmd.com/u/nextflow-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nextflow-io/stop-preview

---


Stop the MkDocs preview server that is running in the background.

See [../shared/repo-conventions.md](../shared/repo-conventions.md) for directory structure.

This will:

1. Find any running Docker containers with the training-mkdocs image
2. Stop the container(s)
3. Confirm the server has been stopped

If no preview server is running, you'll be notified.

Use the following steps:

1. Run `docker ps --filter "ancestor=ghcr.io/nextflow-io/training-mkdocs:latest" --format "{{.ID}}"` to find running containers
2. If any container IDs are found, stop them with `docker stop <container_id>`
3. Confirm they have been stopped

