As a Microsoft employee, I cannot speculate publicly about what our company's direction
is regarding compatibility with Docker. However, currently, the best way to use Canasta's Linux containers on Windows is to use the WSL 2-based engine on Docker Desktop. (Remember, Canasta's containers are based on Debian (in the case of our eponymous Canasta
web server), Alpine, or another Linux distro. That is why Canasta's containers are Linux containers, rather than Windows containers.) When we are running Linux containers on Windows, WSL 2 provides that compatibility. When running Windows containers on Windows,
it's probably best to use Docker Desktop's Hyper-V engine.
As a member of the Canasta Project, I would say this is not simply a solution that is temporary,
but a solution that is indefinitely the best way to go.
|
Install Docker Desktop. With the WSL 2 backend supported in Docker Desktop for Windows, you can work in a Linux-based development environment and build Linux-based containers, while using Visual Studio Code for code editing and debugging, and running your container
in the Microsoft Edge browser on Windows.
|