jnswtk
Programming in Elixir with Docker on Windows
Hello,
few days ago I changed my GPU and I had to switch from Linux to Windows. I consider learning Docker instead of installing Elixir on my machine. Is it worth my time? I’m still learning Elixir basics and I don’t have any experience with Docker, but I thought that maybe it’s a good idea and some kind of investment for the future.
Unfortunately, virtual machines don’t work well on my machine, they are pretty slow and I have bad experience with using them.
Thanks!
Most Liked
tomkonidas
thiagomajesk
This is also the best advice I can give as a Windows user.
I’ve been using WSL for the past 2 years with Elixir and the overall experience has been pretty good (especially after some WSL2 tweaks).
crispinb
My main current machine runs Windows 10, and having come to it from Linux (Fedora) I’ll attest to WSL2 working remarkably well. I brought my Linux dotfiles along (making a few wsl-specific edits here and there), and I have an environment that feels pretty comfortable. Windows terminal is finally good enough to live in. From day to day I hardly notice that I’m effectively working in a VM. Performance is impressive - within a few percent of running Linux on bare metal. You can even use your GPU from WSL (though until the final WSLg release it involves running a Windows Insider build, so probably better to wait a few months for that).
Agree that adding the burden of learning Docker seems like an unnecessary barrier.
cmo
You can also develop on Windows without using WSL.
jnswtk
Ok, I solved problem by switching from Ubuntu to OpenSUSE Leap 15.3. I don’t know what exactly caused this error, but default elixir (1.11.3) and erlang packages from repository seem to work just fine.
Thanks for all replies, I appreciate that. At this moment I will not learn docker and just go with WSL2.







