Search across all documentation pages
9 pages in this section.
What a container actually is under the hood - layered images, namespaces, and cgroups - and why Node.js services ship this way. The mental model behind every other page in this section.
Learn to containerize a Node.js API with Docker. Explore 10 examples, from basic Dockerfile creation to multi-stage builds and .dockerignore usage.
Learn to use Docker multi-stage builds to separate build and runtime environments, preventing development dependencies from shipping to production.
Compare Distroless and Alpine Docker images, understanding trade-offs in libc compatibility, image size, and debuggability for Node.js applications.
Run Node.js as a non-root user in Docker to prevent privilege escalation. Learn to configure user permissions and ownership for secure containers.
Learn 25 essential Docker best practices for Node.js teams, covering multi-stage builds, image slimming, security, and efficient containerization.
A single-page roundup of every highlight bullet from the 8 pages in the Docker section, grouped by source page so you can scan all 46 takeaways without opening each article individually.