Chapter 7: Working with Containers in WSL
Containers are a hot topic as a way of packaging and managing applications. While there are both Windows and Linux flavors of containers, since this is a book about WSL, we will focus on Linux containers and Docker containers in particular. If you want to learn about Windows containers, this link is a good starting point: https://docs.microsoft.com/virtualization/windowscontainers/
After covering what a container is and getting Docker installed, this chapter will guide you through running a prebuilt Docker container before taking you through how to build a container image for your own application using a Python web application as an example. After creating the container image, you will take a quick tour of some key components of Kubernetes and then see how to use these components to host the containerized application inside Kubernetes, all running in WSL.
In this chapter, we're going to cover the following main topics:
- Overview...