1: Intro to containers

The goal of this chapter is to introduce you to the main concepts and level-set some jargon.

Don’t worry if some of this is confusing, we’ll cover everything again in more detail later in the book.

I’ve divided the chapter into the following sections:

  • Why containers
  • Big picture view
  • Images
  • Containers
  • Registries
  • The Open Container Initiative (OCI)
  • Containers and virtual machines
  • Microservices
  • Linux and Windows containers
  • The future

Don’t run any of the example commands in this chapter. You’ll run plenty of commands in future chapters.

Why containers

Before we had containers, we built applications that worked on our laptops and development environments but often failed in production. The main reason was the differences ...

Get Getting Started with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.