Skip to content

Install Windows

github-actions[bot] edited this page Dec 5, 2026 · 1 revision

Run the relay on Windows

Status: Experimental Not recommended. Running the relay on a Windows PC is untested. Windows as a client is Expected; see Clients. What the labels mean

The relay needs to send and receive multicast DNS on your LAN, and Windows' container options make that hard:

  • Docker Desktop runs containers in a VM. Its host networking works at layer 4 inside that VM (Docker docs), so the relay's Bonjour announcements don't reach your LAN. Fine for trying the relay, useless for iPhones.
  • WSL 2 uses NAT by default. Its mirrored networking mode (Windows 11 22H2 and later) adds multicast support and LAN access (Microsoft docs), but nobody has tested the relay that way, and Docker Desktop runs in its own VM regardless.

Recommended: a small Linux VM with bridged networking

If the always-on machine is a Windows PC, run a Linux VM with its network adapter bridged to the LAN (Hyper-V: an External virtual switch; VirtualBox or VMware: Bridged adapter). The VM gets its own LAN address, and you follow Install with Docker Compose on Linux inside it. This is the same setup as a VM on Proxmox, and it is Expected to work.

Allow the VM through any Windows firewall rules that apply to bridged adapters, and make sure the PC doesn't sleep.

Experimental: Docker Engine inside WSL 2 with mirrored networking

Untested. If you want to try it:

  1. In %UserProfile%\.wslconfig, set:

    [wsl2]
    networkingMode=mirrored

    then run wsl --shutdown and start your distribution again.

  2. Allow inbound connections to WSL through the Hyper-V firewall (from an elevated PowerShell, as in the Microsoft docs):

    Set-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow
  3. Inside the distribution, install Docker Engine (not Docker Desktop), then follow Install with Docker Compose on Linux.

  4. Windows itself may already answer mDNS on UDP 5353. Leave AVAHI_HOSTNAME empty, as on other hosts: the relay then shares the PC's name. If the logs loop on Host name conflict (-3, -4, …), see Troubleshooting. Check from a Mac with dns-sd -B _ipp._tcp,_universal.

Please report what happens, working or not, on the Compatibility List.

Docker Desktop for testing

To try the relay or check a printer profile without a LAN announcement, run it with AVAHI_MODE=off and a published port, as shown for Docker Desktop on macOS. From Windows you can then add it as a printer by address: Settings › Bluetooth & devices › Printers & scanners › Add device › Add manually › Select a shared printer by name, http://127.0.0.1:8631/printers/legacy-printer (that example publishes port 8631 with CUPS_PORT=8631; use your published port if you changed it). Details on Clients.

Clone this wiki locally