YoVDO

Node.js Rocks in Docker for Dev and Ops

Offered By: Docker via YouTube

Tags

DockerCon Courses Javascript Courses Docker Courses Node.Js Courses CI/CD Courses Container Management Courses

Course Description

Overview

Discover best practices for managing Node.js and JavaScript projects in Docker containers. Explore optimized Docker Desktop and Compose configurations for local development, leveraging cutting-edge features like macOS mind-mount performance enhancements, BuildKit npm caching, and multi-stage image targeting. Learn to optimize builds, testing, and CI/CD processes for Node.js applications, including techniques for handling private npm modules. Gain insights into production orchestration, focusing on zero-downtime updates for Node.js applications in Kubernetes and Swarm environments. Master essential topics such as Dockerfile best practices, base image selection, node_modules management, process management, security scanning, and performance optimization for bind-mounts. Enhance your skills in developing, testing, and operating Node.js applications within Docker containers through practical examples and expert guidance.

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

Cloud Computing Applications, Part 1: Cloud Systems and Infrastructure
University of Illinois at Urbana-Champaign via Coursera
Introduction to Cloud Infrastructure Technologies
Linux Foundation via edX
Introduction aux conteneurs
Microsoft Virtual Academy via OpenClassrooms
The Docker for DevOps course: From development to production
Udemy
Windows Server 2016: Virtualization
Microsoft via edX