Docker and the Path to a Better Staging Environment
summary
Claim: let testers spin up isolated staging instances in seconds using Docker, Docker-Compose and Kubernetes and the same deployment files used for production. Builds a Node/React blog + MongoDB with Dockerfiles, uses sub-second container startup and port mapping to run many DB+app pairs, composes them with a single docker-compose file, pushes images to Docker Hub, deploys to minikube/kubernetes with Deployments and Services and creates per-environment isolation via namespace-per-environment. Demo runs (signup, publish) and replaces minutes-long VM builds with instant ephemeral stages.
AI-written summary · about
chapters (38)
- 0:00Introduction
- 1:18Staging Environments
- 2:27Docker is 6 years old
- 2:59DevOps Pro
- 3:14Docker
- 4:01Mongo
- 4:12VM Image
- 4:38VM Option
- 5:09Darker Option
- 6:09Create Docker Image
- 8:15Create a Docker Container
- 9:14Why is it failing
- 9:43Port Mapping
- 10:34Port Mapping Demo
- 11:08Connecting Two Docker Containers
- 12:53Docker PS
- 13:13Nodejs App
- 13:33Node Base Image
- 14:12Build Docker Image
- 14:55Running Docker Image
- 17:34Create a Network
- 20:02Run the same app twice
- 20:19Create another network
- 21:37Bash Script
- 21:54Docker Compose
- 24:41Docker Production
- 25:16Kubernetes
- 25:47Core Natives
- 26:40Cube
- 27:42In a nutshell
- 28:21Star Trek
- 30:32Ponce
- 31:23MyMongo
- 32:11Everything is Simple
- 32:45Service Discovery
- 33:01Service Object
- 33:23Service Example
- 37:17Summary
related talks
30mNode.js in a Kubernetes World
21mScaling Node.js applications with Kubernetes and Docker
32mLocal development techniques with Kubernetes
42mLocal Development Techniques with Kubernetes
28mScaling Node.js Applications with Kubernetes and Docker
27mDesigning a local development environment based on containers
22mMaking Kubernetes How We Build Things
01h 06mSo many Docker platforms, so little time...
