Creating and running a custom distro
If you work across multiple projects, each with their own sets of tools, and you like to keep the dependencies separate, then running a distro for each project might be appealing. The technique we've just seen for exporting and importing distros gives you a way to achieve this by making a copy of a starting distro.
In this section, we will look at an alternative approach using Docker images. There is a large range of images published on Docker Hub, including images that have various developer toolsets installed. As we will see in this section, this can be a quick way to get a distro installed for working with a new toolset. In Chapter 10, Visual Studio Code and Containers, we will see an alternative approach, using containers directly to encapsulate your development dependencies.
Before we get started, it is worth noting that there is another approach to building a custom distro for WSL, but that is a more involved process and doesn&apos...