-
Notifications
You must be signed in to change notification settings - Fork 0
[Feature Request] Podman containers within macvlan #1
Comments
The You will need to write a systemd unit to create a macvlan interface. You can use the macvlan script by @boostchicken if you like, just write a |
If I understand correct, I need to do the following:
I wasn't expecting it to be that simple, but will give a try. |
More or less like that, but you will probably need to modify The cni plugin in fedora is installed at You will need to copy Something like this:
If you look at systemctl enable --now [email protected] There might be small details that I missed, but this is the overall idea. Let me know if you have questions. |
Thank you very much for the support so far. Unfortunately, I am unable to get it to work. As such, I have started from scratch and used your test files for validation. Your help would be appreciated.
|
What firmware version do you have? If you are not on 1.10.0 beta, you need to upgrade to the beta, or run the command below before you install unifi-systemd. This is also in README:
If you have already installed. You can also do: unifi-systemd stop
podman image rm ghcr.io/ntkme/systemd-podman:latest
podman pull ghcr.io/ntkme/systemd-podman:legacy
podman tag ghcr.io/ntkme/systemd-podman:legacy ghcr.io/ntkme/systemd-podman:latest
unifi-systemd start |
Upgrading to the beta firmware (1.10.0-12) did indeed fix it! I guess that I misread your README, thinking it was referring to <1.1.0 or something... not realizing you were actually referring to beta firmware <1.10.0. I will recreate the macvlan configuration and files again, and let you know how it goes. |
It is working as expected. For those who are interested to know how, here is how I do it. Create CNI Macvlan
Deploy Adguard Home
Configure Firewall
|
Glad to hear that it worked for you. I will consider packing it as a few predefined systemd services to make it easier to use when I got time. Thanks for being an pioneer on this! |
Currently,
unifi-systemd-units
runs the nestedpodman
containers in a bridged network. For a more secure and flexible solution, I would like thepodman
containers to run within a completely isolated network stack usingmacvlan
.Similar functionality is provided by @boostchicken , such as for Adguard Home. However, I can’t seem to figure out how to achieve the same with
unifi-systemd-units
.It would be great if this feature could be added to
unifi-systemd-units
.The text was updated successfully, but these errors were encountered: