Can you host Lemmy on a windows computer?

Soullioness@lemmy.world to Selfhosted@lemmy.world – 7 points –

I'm currently running an instance on Ubuntu but I'm wondering if it can be moved to my windows computer?

15

You are viewing a single comment

There are lots of docker deployment examples, and no reason it shouldn’t run in docker on windows. It supports Ubuntu containers. https://docs.docker.com/desktop/wsl/

One thing to note with Docker on Windows is that it will be running the Linux subsystem on top of the Windows stuff when you run Docker, so there will be a performance hit to do that.

It will work, but not necessarily as well as you would like.

Wsl isn't actually slower, it uses a kernel personality mode thing that basically means Linux runs as a first class process.

The performance hit doesn't show up for most stuff, but iirc it does show up for some heavy io, networking and some synchronization.

Still, highly not recommended.