docker

Containerize applications with Dockerfiles, multi-stage builds, and Docker Compose configurations.

Updated Aug 2, 2026
One-click install
npx skills add https://github.com/jeje-it/template-projet --skill docker-jeje-it
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: docker
Source: https://github.com/jeje-it/template-projet/tree/main/.agents/skills/docker
Command: npx skills add https://github.com/jeje-it/template-projet --skill docker-jeje-it

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It eliminates inconsistent environments across development, testing, and production by packaging applications with their dependencies into portable, isolated containers. ## Core Features & Use Cases - Dockerfile Authoring: Create cache-efficient Dockerfiles with proper instruction ordering, .dockerignore files, and multi-stage builds that reduce image sizes from hundreds of megabytes to minimal runtime footprints. - Docker Compose Orchestration: Define multi-container stacks with databases, caches, workers, health checks, and hot-reload volumes for local development. - Production Hardening: Apply non-root users, health checks, resource limits, secrets management, and graceful shutdown patterns for secure deployments. - Use Case: A developer needs to run a Node.js API with PostgreSQL and Redis locally. The skill provides a docker-compose.yml with health-checked services, a multi-stage Dockerfile for production, and debugging commands for troubleshooting container issues. ## Quick Start Ask the AI to create a production-ready Dockerfile and docker-compose setup for your application stack.

Frequently Asked Questions about docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a Dockerfile for a Node.js application?▼

Start from node:18-alpine, copy package files first, run npm ci --only=production, then copy application code to preserve layer caching. Use a multi-stage build to compile TypeScript or bundle assets, keeping build tools out of the final image.

How do I reduce Docker image size with multi-stage builds?▼

Use a builder stage with full toolchains to compile or bundle, then copy only the artifacts into a slim runtime stage like alpine or scratch. A Go binary on scratch can be around 10MB versus hundreds of megabytes with build tools included.

Docker Compose vs Kubernetes: which should I use?▼

Docker Compose fits local development and simple single-host deployments with a single YAML file. Kubernetes suits large-scale production with automatic scaling and high availability, while Docker Swarm covers small clusters with less complexity than Kubernetes.

Why does my Docker container exit immediately after starting?▼

Check logs with docker logs and inspect the exit code via docker inspect. Common causes are missing commands, crashed entrypoints, or signal handling issues; debug by overriding the entrypoint with an interactive shell.

How do I fix 'no space left on device' Docker errors?▼

Run docker system prune -a --volumes to remove unused containers, images, and volumes, then verify usage with docker system df. Regularly pruning dangling images and stopped containers prevents disk exhaustion.

How do I set up hot reload for development in Docker?▼

Bind-mount your source directory into the container and use a named volume for node_modules to avoid overwriting installed dependencies. Run the dev server command, such as npm run dev or uvicorn with --reload, inside the container.