Summary
In this chapter, we have covered containers and the popular Docker platform. We provided an overview of containerization and what makes containers different from VMs. We looked at Docker and some of its major components, including images, containers, Docker Engine, and Dockerfiles.
We provided three different examples of running containers. The first was running the popular in-memory cache Redis. This showed how simple it is to start up a new container. Next, we created our own ASP.NET Core container by using just Notepad. The last example used Visual Studio to containerize an existing ASP.NET Core application. This example highlighted some of the nice features that the IDE provides when working with Docker.
Containers and Docker is a big subject. The goal of this chapter is to present some of the highlights and background of this powerful technology. Because of the portability of .NET to both Linux and Windows, it is an ideal framework for building containers.
The...