Not what you asked for but possibly useful; if you have apple devices and can use airplay instead of Bluetooth, https://github.com/mikebrady/shairport-sync works really well. Even runs airplay 2 on a pi zero smoothly. Don’t know of Bluetooth otherwise sadly
- Posts
- 221
- Comments
- 487
- Joined
- 2 yr. ago
- Posts
- 221
- Comments
- 487
- Joined
- 2 yr. ago
196 @lemmy.blahaj.zone rule
196 @lemmy.blahaj.zone 365 ruleygirl
196 @lemmy.blahaj.zone rulin that
196 @lemmy.blahaj.zone rule
196 @lemmy.blahaj.zone gonna pondrule some asstronomical orb
196 @lemmy.blahaj.zone ruling in the moment
196 @lemmy.blahaj.zone orb essentials rule
196 @lemmy.blahaj.zone rule my orb
196 @lemmy.blahaj.zone basic geography rule
196 @lemmy.blahaj.zone basic geography rule
196 @lemmy.blahaj.zone basic geography rule
196 @lemmy.blahaj.zone rule
196 @lemmy.blahaj.zone priorities rule
196 @lemmy.blahaj.zone glowie rule
196 @lemmy.blahaj.zone rulep
196 @lemmy.blahaj.zone Devitorule
196 @lemmy.blahaj.zone 💤💤💤rule
196 @lemmy.blahaj.zone nv robo rule
196 @lemmy.blahaj.zone Cambrian ruleiod
196 @lemmy.blahaj.zone rule
Thanks for taking the time to reply!
The host setup has
eth0as the physical interface to the rest of the network, withbr0replacing it completely.br0has the same MAC as theeth0interface andeth0just forwards tobr0which then does the bridging internally.br0being a bridge means that incus is able to split it off without MACVLAN but rather its nic device in bridge mode which "Uses an existing bridge on the host (br0) and creates a virtual device pair to connect the host bridge to the instance." That results in a network interface that has its own MAC and is assigned a local IP by the DHCP server on the network while also being able to talk to the host.Incus accomplishes the same goal as Proxmox (Proxmox has similar bridge network devices for its containers/VMs) just without Incus needing to be your OS/distro like Proxmox does, it's just a package.
As for the Docker, the parent interface is
br0which has supplantedeth0. MACVLAN is working as it is intended to in Docker, as far as I can tell. The container has a networking device with its own MAC address, and after supplying the MACVLAN network device with my network's subnet and gateway and static IP address in the Docker compose file it works as expected. If I don't supply a static IP in the Docker compose file, Docker just assigns it the first IP in the given subnet - no DHCP interaction. This docker-net-dhcp plugin (I linked to the issue about it not working on the latest version of Docker anymore) was made to give Docker network devices the ability to use DHCP to get an IP address, but it's clearly not something to rely on.If I'm missing something about MACVLAN that makes DHCP work for Docker, let me know! Hardcoding an IP into a docker-compose file adds an extra step to remember compared to everything else being configured on the centralized DHCP server - hence the shoddy implementation claim for Docker.
Thanks for the link to using another MACVLAN and routing around the host<-/->container connection issue inherent to MACVLAN. I'll keep it in mind as an alternate to Incus container around another container! I do wish there could be something like Incus' hassle-free solution for Docker or Podman.