© Adam Freeman 2017

Adam Freeman, Essential Docker for ASP.NET Core MVC, 10.1007/978-1-4842-2778-7_4

4. Docker Images and Containers

Adam Freeman

(1)London, UK

The building blocks for working with Docker are images and containers. An image is a template for an application and the files required to run it. A container is created from an image and is used to execute the application in isolation so that one application doesn’t interfere with another. In this chapter, I explain how to create and use images and containers and demonstrate how to use Docker to containerize an ASP.NET Core MVC application for use on Linux and Windows servers. Table 4-1 puts this chapter in context.

Table 4-1. Putting Docker Images and Containers in Context

Question

Answer ...

Get Essential Docker for ASP.NET Core MVC now with O’Reilly online learning.

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