Repository navigation
Install Proxmox
Should work by design inside a VM or LXC
container; not yet validated. Reports welcome. What the labels mean
Proxmox itself doesn't run Docker. You create a guest (a VM or an LXC container) on your LAN bridge, install Docker in it, and run the relay there with host networking. "Host" then means the guest, which has its own IP address on the LAN, so there's no conflict with Proxmox's own services.
Values used here: printer 192.0.2.10, guest 192.0.2.20, bridge vmbr0, queue legacy-printer.
Proxmox recommends running application containers such as Docker inside a QEMU VM (Proxmox wiki).
- Create a VM with Debian 12/13 or Ubuntu Server LTS: 1 vCPU, 1 GB RAM and 8 GB disk are plenty.
-
Network: bridge
vmbr0(the bridge connected to your LAN), model VirtIO. No NAT. - Install Docker in the VM and follow Install with Docker Compose on Linux.
Lighter, but Docker inside LXC needs extra features and isn't as well supported.
- Create a Debian container on
vmbr0with a fixed or reserved IP address. - Before starting it, enable Options › Features › Nesting (and keyctl for an unprivileged container), or
in the shell:
pct set <vmid> --features nesting=1,keyctl=1. - Start it, install Docker, and follow Install with Docker Compose on Linux.
- Use a bridge, not NAT. The guest must be directly on the LAN; mDNS doesn't cross NAT.
- Proxmox firewall. If the firewall is enabled for the guest, allow TCP 631 and UDP 5353 from the LAN.
- VLAN tags. If iPhones live on a different VLAN than the guest, discovery won't work without an mDNS reflector; see Clients.
- Fixed address. Give the guest a DHCP reservation, so Macs added by address keep working.
Exactly as on Linux: docker compose logs, docker compose exec airprint-relay lpar-status, dns-sd -B _ipp._tcp,_universal from a Mac, then print from an iPhone. To remove
everything, docker compose down -v in the guest, or delete the guest.
legacy-printer-airprint-relay · MIT License · Report an issue · Not affiliated with Apple, Xerox or Synology. AirPrint is a trademark of Apple Inc.