Chapter 3. Understanding Images and Containers

In previous chapter, we learned how to install Docker on Windows, Mac OS, Linux, and Amazon EC2 cloud. So far, you should have Docker running on your machine and should be able to run the hello-world image in a container. In this chapter, we will dive deeper into the world of images and containers. Later, we will also cover image distribution-related terms, such as Docker repository, registry, and index. We are going to cover the following topics in this chapter:

  • Images
  • Layers
  • Containers
  • Saving changes to containers
  • Docker registry, repository, and index

Note that we will mainly use the shell (or command prompt in Windows) to execute Docker commands. You can always execute docker help to get a description ...

Get Developing with Docker now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.