来自 Docker Captain 的用于 Node.js 项目的 Docker
Docker for Node.js Projects From a Docker Captain
- 01 - Introduction and Course Resources
- 001 Introduction and Course Roadmap
- 002 Getting The Most Out Of This Course
- 02 - Docker Compose Basics
- 001 Section Intro Compose Basics
- 002 Getting The Right Docker and Compose Versions
- 003 Why Compose
- 004 Compose File Format
- 005 docker-compose CLI
- 006 Assignment Compose CLI Basics
- 007 Assignment Answer Compose CLI Basics
- 03 - Node Dockerfile Best Practice Basics
- 001 Section Intro Dockerfile Best Practice Basics
- 002 Dockerfile Best Practice Basics
- 003 FROM Base Image Guidelines
- 004 When To Use Alpine, Debian, or CentOS Images
- 005 Assignment Making a CentOS Node Image
- 006 Assignment Answers Making a CentOS Node Image
- 007 Running Non-root Container Users
- 008 Working With The Node User Limits
- 009 Making Images Efficiently
- 04 - Controlling The Node Process In Containers
- 001 Section Intro Controlling The Node Process
- 002 Node Process Management
- 003 The Truth About the PID 1 Problem
- 004 Proper Node Shutdown Options
- 005 Assignment Writing Node Dockerfiles
- 006 Assignment Answers Writing Node Dockerfiles
- 007 Assignment Testing Graceful Shutdowns
- 008 Assignment Answers Testing Graceful Shutdowns
- 05 - Advanced Dockerfiles with Multi-stage and BuildKit
- 001 Section Intro Advanced Node Dockerfiles
- 002 Multi-stage Docker Builds
- 003 More Multi-stage Uses
- 004 Assignment Building A 3-Stage Dockerfile
- 005 Assignment Answers Building a 3-Stage Dockerfile
- 06 - Node Apps in Cloud Native Docker
- 001 Section Intro Node Apps in Cloud Native Docker
- 002 Cloud Native App Guidelines
- 003 Twelve Factor Apps - Config
- 004 Twelve Factor Apps - Logs
- 005 The .dockerignore File
- 006 Assignment Migrating Traditional Apps
- 007 Assignment Answers Migrating Traditional Apps
- 07 - Compose for Awesome Local Development
- 001 Section Intro Compose for Awesome Local Development
- 002 Compose Project Tips
- 003 Bind-Mounting Code, Optimizing for Performance
- 004 Node Modules In Images
- 005 Node Modules In Bind-Mounts
- 006 NPM, Yarn and Other Tools in Compose
- 007 File Monitoring and Node Auto Restarts
- 008 Startup Order and Dependencies
- 009 Healthchecks for depends_on
- 011 Making Microservices Easier with Compose
- 012 VS Code, Debugging and TypeScript
- 013 Assignment Building a Sweet Compose File
- 014 Assignment Answers Building a Sweet Compose File
- 08 - Making Container Images Production Ready
- 001 Section Intro Making Container Images Production Ready
- 002 Avoiding devDependencies In Prod
- 003 Dockerfile Comments, Arguments, and Labels
- 004 Running Tests During Image Builds
- 005 Security Scanning During Image Build
- 006 CI Automated Testing and Proper Image Tags
- 007 Adding Healthchecks
- 008 Assignment Making Your Ultimate Node.js Dockerfile
- 009 Assignment Answers Making Your Ultimate Node.js Dockerfile
- 010 Assignment Answers BONUS Making Your Ultimate Node Dockerfile
- 09 - Running Production Node.js Containers
- 001 Section Intro
- 002 Node.js Multi-Threaded Concerns
- 003 Why Not Use Compose In Production
- 004 Node.js Containers With Proxies
- 005 Container Replacement and Connection Management
- 006 Node.js With Container Orchestration
- 007 Node.js With Docker Swarm
- 10 - Running Node.js on ARM with Docker
- 001 The State of ARM and Docker for Node.js
- 002 Running Node.js ARM Containers For Development
- 003 Running Node.js ARM Container for Production
- 004 The Future of Multi-Arch Docker Making ARM Easier