Docker: Containers from the Ground Up

Shriira Press

Preface

Package and ship software the modern way — learn Docker and containers end to end.

Welcome to Docker: Containers from the Ground Up.

Docker bundles an application with everything it needs into a portable container, so it runs the same everywhere. This free, example-driven book teaches it from the ground up: why containers beat VMs, running your first container, the core ideas of images and containers, writing Dockerfiles, how layers and the build cache make images fast and lean, persisting data with volumes, networking containers together, running multi-container apps with Docker Compose, sharing images through registries, and the practices that make containers production-ready. Ten focused chapters with real commands and clear diagrams. Learn the foundation of modern software delivery.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What Docker Is and Why Containers
  2. Chapter 2 — Getting Started
  3. Chapter 3 — Images and Containers
  4. Chapter 4 — Dockerfiles: Building Your Own Images
  5. Chapter 5 — Image Layers, Caching, and Best Practices
  6. Chapter 6 — Data: Volumes and Bind Mounts
  7. Chapter 7 — Networking
  8. Chapter 8 — Docker Compose: Multi-Container Apps
  9. Chapter 9 — Registries: Sharing Images
  10. Chapter 10 — Docker in Production and Good Practice
0%
1/1