Getting started with Docker
To show a practical example of using containers, we will use the popular container platform Docker. Docker was chosen because of its popularity, ease of use, and its position as an industry leader in containerization. This section of the chapter will provide an overview of Docker and instructions for installing Docker.
What is Docker?
Docker is a platform for operating system-level virtualization for managing and executing packages of software referred to as containers. Each container is a bundle of software and the libraries and configuration required to run the container. The bundle is called an image, and images can be stored locally to the machine running Docker or in registries. A Docker registry is a repository of images. A registry might require authentication; this is called a private registry. Docker registries that don't require authentication are called public repositories, and Docker Hub and Docker Cloud are two popular public Docker...