glizzyguzzler

joined 2 years ago
[–] [email protected] 3 points 1 month ago (1 children)

This was very insightful and I’d like to say I groked 90% of it meaningfully!

For an Incus container with its unique MAC interface, yes if I run a Docker container in that Incus container and leave the Docker container in its default bridge mode then I get the desired feature set (with the power of onions).

And thanks for explaining CNI, I’ve seen it referenced but didn’t fully get how it’s involved. I see that podman uses it to make a MACVLAN interface that can do DHCP (until 5.0, but the replacement seems to be feature-compatible for MACVLAN), so podman will sidestep the pain point of having to assign a no-go-zone on the DHCP server for a Docker swath of IPv4s, as you mentioned. Close enough for containers that the host doesn’t need to talk to.

So in summary:

  • I’ve got Docker doing the extent it can manage with MACVLAN and there’s no extra magicks to be done on it.

  • Podman will still use MACVLAN (no host to container comms still) but it’s able to use DHCP to get an address for the MACVLAN container.

  • If the host must talk to the container with MACVLAN, I can either use the MACVLAN bypass as you linked to above or put the Docker/Podman container inside an Incus container with its bridge mode.

  • Kubernutes continues to sound very powerful and flexible but is definitely beyond my reach yet. (Womp womp)

Thanks again for taking the time to type and explain all of that!

[–] [email protected] 2 points 1 month ago (6 children)

Thanks for taking the time to reply!

The host setup has eth0 as the physical interface to the rest of the network, with br0 replacing it completely. br0 has the same MAC as the eth0 interface and eth0 just forwards to br0 which then does the bridging internally. br0 being 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 br0 which has supplanted eth0. 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.

[–] [email protected] 3 points 1 month ago

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

[–] [email protected] 35 points 1 month ago (3 children)

F tier AI slop, not even horrific or horny how’s it gonna get boomers to share it on fb

[–] [email protected] 25 points 1 month ago (1 children)

eheheh…,

penutis

[–] [email protected] 3 points 2 months ago

FUCJ that’s a good letter

[–] [email protected] 12 points 2 months ago (1 children)

Mr crabs would use unethical llms, very accurate

[–] [email protected] 9 points 2 months ago

naughty cord naughty cord naughty cord (because those plugs are into rope play)

[–] [email protected] 3 points 2 months ago

Thanks for revealing I will investigate!

[–] [email protected] 3 points 2 months ago (2 children)

How did you embed alt text with the image like that uwu

[–] [email protected] 9 points 2 months ago (1 children)

This is 2D can yuo generalize to 2nd variable ?

[–] [email protected] 7 points 2 months ago

schlep schlep schlep schlep schlep schlep schlep schlep schlep schlep

 
150
rule (files.catbox.moe)
 
 

Is the backstory a culinarified and gussied up version of the 1969 movie Easy Rider, which has had Jack Nicholson in the cast?

Or is the backstory what a ghost less version of Ghost Rider starring Nick Cage would look like?

The Maltese-ified run-on sentence Has?

So many questions, like why is Nick The Easy Rider Pancake Mix in my good Prussian German market?

151
hiberuletion (files.catbox.moe)
 
416
rulep (files.catbox.moe)
 

339
rule (files.catbox.moe)
 
 

177
drone rule (files.catbox.moe)
 
323
rule (files.catbox.moe)
 
133
rule (lemmy.blahaj.zone)
 
390
rule (lemmy.blahaj.zone)
 
 

I saw https://sh.itjust.works/post/27423240 that states that somehow a mod here is blocking certain posts on that community for this instance somehow. Idk how federation modding works.

Seems bad to selectively cut posts. That seems a doorway to building a bubble for communities or even curtailing discussion about topics, even in other instances. Since we’re federated it should be all or nothing; either defederate if the entire site is unmodded/has goblin users/hosts views against our guidelines or block the just community if it’s against our guidelines if the rest of the place is aight.

That specific community seems to be about “NATO warmongering in a cheeky way” if I had to summarize it in a few words. I can see it is untenable for some but I can’t see why we need to be shielded from selections of that, individual users can just block it if the community’s (hopefully somewhat insincere) thirst for blood is too much.

In short, I oppose our admins moderating other instances’ communities. If they’re against our guidelines block the community or defederate; if they good under our guidelines then just leave it even if it’s “just a hair under crab”, to use a metaphor

view more: ‹ prev next ›