brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: moving Unraid from cable to Wi-Fi means reconfiguring your containers

Unraid
~/tips/tip-unraid-docker-wifi-same-subnet

cat ~/tips/tip-unraid-docker-wifi-same-subnet.md

Plan for reconfiguring containers before you switch your Unraid server between cable and Wi-Fi.

If your server can use Wi-Fi, it is tempting to move it to a spot without a cable. Before you pull the plug, know what that does to Docker.

The managing containers page in the docs has a short warning about this:

Docker can’t take part in two networks that share the same subnet. So when you switch between a wired and a wireless connection, the docs say you have to restart Docker and set up every existing container again for the new interface.

In practice your wired and wireless connection are usually on the same home network, say 192.168.1.x. Docker can not be on both at once. So the switch means a restart of the Docker service and then a round of editing every container that is tied to the old interface.

The containers on the default bridge network mostly care about ports. The ones that hurt are the containers on a custom network with their own LAN address, because those are bound to a specific interface. If you run Home Assistant or Pi-hole that way, each of those templates needs a new look.

My advice is to decide once. If the server will live on Wi-Fi, move it, restart Docker (under Settings > Docker, set Enable Docker to No, apply, then Yes again) and go through the containers one by one, starting with the ones other things depend on. Switching back and forth because the cable is in the way some days is a lot of clicking for very little.

The caveat is that the docs give no shortcut here. Write down which containers use a custom network and which IP each one had before you start, because you will be typing them in again.

Further reading: Unraid docs: Managing & customizing containers

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link