Docker Documentation Generator

Document Docker configurations and container setups

6/11/2026
Prompt
Create Docker documentation for:

**Application:** {{APP_NAME}}
**Base Image:** {{BASE_IMAGE}}

**Dockerfile:**
```dockerfile
{{DOCKERFILE}}
```

**Docker Compose:**
```yaml
{{DOCKER_COMPOSE}}
```

Generate comprehensive Docker documentation:

# Docker Documentation

## Overview
- Containerization strategy
- Image architecture
- Container orchestration

## Prerequisites
- Docker version
- Docker Compose version
- System requirements

## Quick Start

```bash
# Build and run
docker-compose up -d

# View logs
docker-compose logs -f
```

## Images

### Image: {{image_name}}

**Base:** {{BASE_IMAGE}}
**Size:** Approximate size
**Exposed Ports:** 8080, 443

**Build Arguments:**
| Arg | Description | Default |
|-----|-------------|---------|

**Environment Variables:**
| Variable | Description | Required |
|----------|-------------|----------|

**Volumes:**
| Mount Point | Purpose |
|-------------|---------|

**Build:**
```bash
docker build -t {{image_name}} .
```

## Services

### Service: {{service_name}}

**Image:** image:tag
**Replicas:** 1
**Dependencies:** service1, service2

**Ports:**
| Host | Container | Protocol |
|------|-----------|----------|

**Environment:**
Required environment variables

**Health Check:**
```yaml
healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost/health"]
  interval: 30s
  timeout: 10s
  retries: 3
```

## Networks
Network configuration

## Volumes
Persistent storage

## Commands

### Development
```bash
# Common development commands
```

### Production
```bash
# Production deployment commands
```

## Troubleshooting
Common Docker issues

Or press ⌘C to copy

Variables (6)

Replace these placeholders with your own content before using the prompt.

[{APP_NAME][{BASE_IMAGE][{DOCKERFILE][{DOCKER_COMPOSE]{{image_name}{{service_name}

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...