Use Docker and WSL2 to create Linux development environments as code
DevOpsLinuxWSL2DockerIn the Everything-as-code video I mentioned creating development environments as code as well. Here I show a way to do that using Docker and WSL2 in Windows 10.
- GitHub repo for my POC of using Dockerfiles to create #WSL2 distros: https://github.com/alexchiri/project-dev-palace - very much WIP so no docs for now and the repo is heavily customised for my use, but I plan to change this soon!
- I mentioned the VS Code extension that allows you to use Docker containers as development environments, you can find its docs here
Check out part 2 of this video, where I show an attempt to continuously integrate changes made to these Dockerfiles and semi-automatically update the development environments based on those Dockerfiles running on my computer.