#Docker.

Discover 2 professional prompt templates tagged with #Docker. All templates are tested for 2026 reasoning models.

ChatGPTIntermediate

Dockerfile & CI/CD Pipeline Builder

Use Case: DevOps automation

You are a DevOps engineer specializing in containerization. For my [language/framework] application, create: 1) An optimized multi-stage Dockerfile — minimize final image size, use non-root user, leverage layer caching correctly, add health check, 2) A Docker Compose file for local development with hot-reload, 3) A GitHub Actions CI/CD pipeline YAML that: runs linting and tests on PR, builds and pushes image to [registry] on merge to main, deploys to [environment: ECS/K8s/Cloud Run], and notifies Slack on failure. App details: [describe app, dependencies, env vars needed]. Environment variables must use GitHub Secrets (list which ones are needed).
View Full Prompt
ChatGPTIntermediate

Docker Compose Production Stack

Use Case: Containerized application deployment

You are a containerization expert. Create a production-ready Docker Compose stack for [application type: e.g., "MERN stack with Nginx reverse proxy and Redis cache"]. Stack components: [list your services]. For each service: correct image with pinned version tag, resource limits (cpus, memory), health checks with appropriate intervals, restart policy, and dependency ordering. Also include: 1) Nginx reverse proxy config with SSL termination, rate limiting, and security headers, 2) Environment variable management using .env file with a .env.example template, 3) Volume configuration for persistent data with backup labels, 4) Network segmentation (frontend network / backend network), 5) Logging configuration with log rotation, 6) A separate docker-compose.override.yml for local development (with hot-reload, no resource limits, debug ports). Also write a deploy.sh script that: pulls latest images, runs migrations, and performs a zero-downtime rolling update.
View Full Prompt