I got Canasta working on Windows

103 views
Skip to first unread message

Jeffrey Wang

unread,
Nov 23, 2022, 5:17:52 PM11/23/22
to canast...@googlegroups.com
Hi Canasta community:

I'm happy to report that I was able to get Canasta working on Windows via Docker Desktop. Here are the steps to get it working on Windows 11:
  1. Enable WSL and download a Linux distro. I chose to use Ubuntu.
  2. Download the latest version of Docker Desktop for Windows.
  3. Install Docker Desktop, and during the installation process, choose to use the WSL 2-based engine. (If you forget to select this option during the install process, that's fine; you can change it in the Docker Desktop settings page after installation.)
  4. Start Docker Desktop.
  5. Back on WSL Ubuntu, you should now be able to use Docker without the need to install Docker Engine locally.
  6. Set up Canasta on WSL Ubuntu as you would normally. I recommend using the CLI.
Please note that this is considered experimental support and is not officially supported by the Canasta Project. Also, I am sending this from my Microsoft work email because that's where I tried installing Canasta on Windows, but I am not speaking in my capacity as a Microsoft employee, and this email shouldn't be construed as representing Microsoft in any way.

aapkaa
jeffrey

Jeffrey Wang
he/him
Software Engineer
Azure Optimizations
wang.j...@microsoft.com

Microsoft Logo

Yaron Koren

unread,
Nov 23, 2022, 8:17:35 PM11/23/22
to Jeffrey Wang, canast...@googlegroups.com
That's great news! WSL stands for "Windows Subsystem for Linux", by the way, for those who (like me) didn't know:


Jeffrey - do you think running Linux within Windows will be the standard Canasta solution for Windows for a while, or is this more of a temporary hack while we try to fix the running of Docker directly within Windows?

-Yaron

--
You received this message because you are subscribed to the Google Groups "Canasta" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canasta-wiki...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canasta-wiki/BL0PR2101MB09328988DB75DFF317852091910C9%40BL0PR2101MB0932.namprd21.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com

Jeffrey Wang

unread,
Nov 23, 2022, 9:30:21 PM11/23/22
to Yaron Koren, canast...@googlegroups.com
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.

Jeffrey Wang
he/him
Software Engineer
Azure Optimizations
wang.j...@microsoft.com

Microsoft Logo

From: Yaron Koren <yar...@gmail.com>
Sent: Wednesday, November 23, 2022 5:17 PM
To: Jeffrey Wang <wang.j...@microsoft.com>
Cc: canast...@googlegroups.com <canast...@googlegroups.com>
Subject: [EXTERNAL] Re: I got Canasta working on Windows
 
You don't often get email from yar...@gmail.com. Learn why this is important

Marco Domingues

unread,
Nov 29, 2022, 3:23:09 PM11/29/22
to Canasta
Hi, yes WSL is an huge improvement to narrowing Windows and Linux. There seems to be projects implementing a shell in PowerShell for Linux also.
Reply all
Reply to author
Forward
0 new messages