Containerization with Docker
- By Dawid Borycki
- 2/25/2026
Summary
In this chapter, you learned how to use Docker for running and managing single and multi-container applications. In the next chapter, you will apply this knowledge to containerize and run People.WebApp. Then, you will learn how to use Docker Compose to launch a multi-container application consisting of People.WebApp and a containerized SQL Server. Before proceeding, clean up your Docker environment by closing both containers and removing a volume with the following commands:
docker rm -f aspnet-sample-app docker rm -f aspnet-sample-app2 docker volume rm aspnet-volume
