Chapter 12: Using Docker for Node.js Development

by Craig Buckler

Node.js applications rarely exist in isolation. You could require a database, caching, message queues, reverse proxies, search, email routing, process monitoring, other language runtimes and more! Managing these dependencies on your development PC becomes significantly easier with Docker.

This guide provides an introduction to Docker. It concentrates on Node.js, but the concepts apply to any development languages or frameworks.

“But it Works on My Machine!”

Imagine you’ve created an amazing application with Node.js and a MongoDB database. It’s so successful, you’ve had to employ another developer to add new features. They clone the repository, run npm install && npm start and ...

Get Your First Week With Node.js, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.