9
submitted 1 year ago* (last edited 1 year ago) by UberMentch@lemmy.world to c/selfhosted@lemmy.world

I feel like I'm losing my mind. A few days ago, all of my containers running on Docker Desktop on my Windows Server host were working nicely. I had NFS volumes set up on a few of them to reach my synology NAS on my local network, and things were working fine. I've done so much digging and tweaking over the last few days, so I can't be certain where all I've broken this connection further, but I woke up one morning and the containers that all had connections to my NAS via NFS volumes were no longer working. I hadn't restarted my host, I don't know what changed. Containers like NPM that I had set up for my internal DNS would no longer redirect to any IP that wasn't within my docker network (for example, I run Plex NOT in a container on my host PC). I had all of my containers on the default bridge network, and now nothing on this docker network can connect to anything on my local network.

I've tried setting static routes in my router, changed a lot of configurations, dug through tutorials, guides, and posts all weekend, but I couldn't make any progress in figuring things out. I'd really appreciate some help on this one, and can provide more details, logs, compose files, when needed. Just don't want to dump everything at once

Duplicate thread over on reddit https://reddit.com/r/docker/comments/15qaotn/cant_ping_local_network_from_inside_containers/

Edit: For anybody looking for a solution, I bit the bullet and installed proxmox. Running my docker containers on an Ubuntu VM now. Linux Docker seems to be working much better now. I suppose the answer is just "run Docker on a Linux OS," since Docker on Windows seems to be limited. Plus, it gives me something new to play around with.

you are viewing a single comment's thread
view the rest of the comments
[-] thomasloven@lemmy.world 4 points 1 year ago

I go the other way. I have linux installed pretty much just to run docker and qemu running windows with iommu passthrough. The performance hit is negligible, and with docker context you can run docker-cli and devcontainers and stuff in the windows vm like native.

[-] UberMentch@lemmy.world 1 points 1 year ago

Hmm, I've never looked into qemu. Do you use a GPU in your environment? It passes through to your Windows VM fine?

this post was submitted on 14 Aug 2023
9 points (90.9% liked)

Selfhosted

40246 readers
455 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