Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Creating Production-Ready Containers - Securing and Optimizing for Node.js

Docker via YouTube

Overview

Discover essential techniques for creating production-ready containers in this 20-minute video featuring a hands-on Node.js demonstration. Explore three key optimization areas: image size, build speed, and security. Learn common container hardening methods, from manual adjustments to multistage builds and popular open-source tools, while understanding their trade-offs. Follow along with practical examples, including a "Hello World" Node.js application and improved Dockerfile creation. Gain insights into container slimming, user settings, version pinning, layer caching, NPM cache management, alternative base images, and multi-stage builds. By the end of this Docker-produced content, acquire the knowledge needed to confidently ship efficient and secure containerized applications.

Syllabus

Intro
Three key optimization takeaways
What is needed for production
Container Slimming
"Hello World" NodeJs Example
Example "Hello World" Dockerfile
Creating a Better DockerFile
Setting a User
Pinning a Version
Layer Caching
NPM Cache Management
Alternative Base Image
Multi-Stage Builds

Taught by

Docker

Reviews

Start your review of Creating Production-Ready Containers - Securing and Optimizing for Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.