this post was submitted on 02 Jul 2023
1191 points (97.6% liked)

Selfhosted

40313 readers
238 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm already hosting pihole, but i know there's so much great stuff out there! I want to find some useful things that I can get my hands on. Thanks!

Edit: Thanks all! I've got a lil homelab setup going now with Pihole, Jellyfin, Paperless ngx, Yacht and YT-DL. Going to be looking into it more tomorrow, this is so much fun!

you are viewing a single comment's thread
view the rest of the comments
[–] Octavius@lemmy.world 2 points 1 year ago (3 children)

While there is a docker version for windows (server I believe) the last time I checked it could only run windows containers (so basically none). The Linux support never got out of beta. I think now they are just saying use windows subsystem for Linux (WSL) for that.

I have been quite happy with docker on a Linux virtual machine hosted on a windows server (I know not the "normal" way to do it but since I am a windows Server admin at work it worked best for me).

The reason that you cannot run Linux containers on windows by default is that docker is no full fledged virtualization Software it sill uses the kernel of the host system. And a Linux container needs a Linux host system.

[–] Octavius@lemmy.world 2 points 1 year ago

Here is a forum thread from the docker forum. You might find some valuable insights there: https://forums.docker.com/t/docker-run-linux-container-in-windows-2019/128196

[–] cogman@lemmy.world 1 points 1 year ago (2 children)

WSL2 is Linux on a virtual machine. Docker for Windows is running in a VM.

I'm also a weirdo though, I'm using podman instead (and may switch to nerdctl).

[–] Octavius@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I think there are two "Docker for Windows" one is docker desktop used on windows client OS where you can switch between windows and linux containers. This is the one where it runs a VM for the Linux containers but it's designed for development and not so much for hosting (at least I have not get it to work for this)

And there is the docker that's included in Windows Server wich can only run windows containers but those natively and suitable for hosting dotnet web services on scale.

[–] ellipse@lemmy.dbzer0.com 1 points 1 year ago (1 children)

Never hears of nerdctl. What is the feature that would make it better than podman for you?

[–] cogman@lemmy.world 1 points 1 year ago

I using and deploying to kubernetes. Nerdctl has a docker API but it's completely backed by k8s. So, for regular dev I'd just need a k8s cluster and not k8s + something else to build the images and push them into the k8s image repository.