Node.js Rocks in Docker for Dev and Ops
Offered By: Docker via YouTube
Course Description
Overview
Syllabus
Intro
What We Gonna' Learn Bret? .Node Dockerfile Best Practices
Every Node Sample Dockerfile
Node Base Image Guidelines Stick to even numbered major releases
When to use Alpine Images
node_modules in Images . Problem: we shouldn't buildinages with node_modules from host
Least Privilege: Using node User
Node Process Management In Containers
The Truth About The PID 1 Problem
Proper CMD for Healthy Shutdown
Proper Node Shutdown Options Temp: Use --init to fix ctrl-c for now
Avoiding dev Dependencies In Prod .Multi-stage can solve this
Building A Specific Stage
More Multi-stage: test
Security Scanning and Audit
Compose YAML v2 vs v3 Myth busting: v3 does not replace v2
node_modules in Bind-Mounts
Bind-Mounting: Performance . On Linux, bind-mounts are native
Dependency Awareness
Taught by
Docker
Related Courses
Fundamentals of Containers, Kubernetes, and Red Hat OpenShiftRed Hat via edX Docker Swarm Mastery: DevOps Style Cluster Orchestration
Udemy Docker & Kubernetes: The Complete Practical Guide
Udemy Understanding Docker and using it for Selenium automation
Udemy Managing the Kubernetes API Server and Pods
Pluralsight