Free course
Docker Course
Learn containers by packaging a Node.js API, connecting it to PostgreSQL, building a Compose workflow, and preparing a secure production image.
Prerequisites: Shell Commands, Linux Basics and Node.js
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Build, run, inspect, persist, connect, and ship a containerized Node.js application with Docker and Docker Compose.
Course contents
Container foundations
Understand images and containers, install Docker, and inspect a running workload.
Build images
Create the Notes API, write its Dockerfile, and use build context and caching well.
Data and networking
Persist data, mount files, publish ports, and connect containers by name.
Compose applications
Run the API and PostgreSQL together with health checks and a fast development loop.
Ship and operate
Build a focused image, reduce privileges, diagnose failures, and publish a release.