1. Home
  2. Library
  3. IT & Software
Curated Library

Docker for Beginners: Containers, Images, Compose and Volumes

A hands-on introduction to Docker covering what containers and images are, how to install Docker, and the core commands for running and debugging containers. It then builds a Node.js and MongoDB app with Docker networking, Docker Compose, a Dockerfile, a private AWS ECR registry and volumes, and finishes with a Docker vs Kubernetes comparison and production best practices. It suits developers and IT beginners with no container experience. Kubernetes itself is not taught here.

17 lessons 4h 25m total IT & Software English Earns YodaCoins
Lessons by TechWorld with Nana on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

What You'll Learn

  • Explain what a container is, how images are layered, and how containers differ from virtual machines
  • Install Docker on Mac, Windows or Linux and use core commands: pull, run, ps, stop, start, port mapping
  • Debug a running container with docker logs and docker exec -it
  • Run a Node.js app with MongoDB and Mongo Express using Docker networks and a Docker Compose file
  • Write a Dockerfile, build an image from it, and push it to a private AWS ECR repository
  • Persist database data with named volumes in Docker Compose
  • Apply eight production best practices: small pinned base images, layer caching, .dockerignore, multi-stage builds, non-root users and image scanning

Prerequisites

  • No prior Docker experience needed
  • Basic comfort with the command line
  • Some familiarity with web app development (Node.js/JavaScript) helps for the demo videos
  • An AWS account is useful if you want to follow the private registry lesson

About the Instructor

TechWorld with Nana

YouTube creator

17 lessons here 4h 25m

The lessons in this course were produced by TechWorld with Nana and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and TechWorld with Nana is not affiliated with YodaHut.

Visit the channel on YouTube
  • 17 lessons
  • 4h 25m of video
  • Earns YodaCoins & streaks
  • Timestamped notes
  • Free — hosted on YouTube

No certificate is issued for Library courses.