Docker and the Path to a Better Staging Environment
summary
Demonstrates building a real staging stack: a Node.js/React blog plus MongoDB, containerized with Docker Compose for single-host staging and deployed to a cluster with Kubernetes for multi-node parity. Shows actual commands: docker build/run, port mapping, docker network, compose up, kubectl apply, image tagging and push to a registry. Images build in seconds, multiple isolated instances run on one host, services and nodePort enable discovery and external access, and resource limits are applied; the setup works end to end.
AI-written summary · about
chapters (13)
- 0:00Docker and staging environments
- 1:08Traditional staging pain
- 3:17Docker’s dev/deploy revolution
- 7:55Containers vs virtual machines
- 11:05MongoDB container with Docker
- 18:16Node.js blog in Docker
- 20:21Containerizing Node.js app
- 24:02Docker container networking
- 27:18Docker Compose for multi-containers
- 30:32Scaling with Kubernetes
- 32:58Kubernetes manifests
- 39:18Staging/production parity
- 40:21Q&A
related talks
43mDocker: From Development to Production
30mSimplify All the Things with Docker Compose
35mFull-stack JavaScript development with Docker
01h 06mSo many Docker platforms, so little time...
01h 00mDocker for development
28mDocker-Composing Your Way to a Better Development Environment
28mHow to Get Started with Docker
27mDesigning a local development environment based on containers
