Allow apps to have their own IP

Problem/Justification
Add ability to use separate IPs on apps in Electric Eel. With GUI manageability.

Impact
It will be similar to a CORE jail.

User Story
I don’t think this needs much of a story. It’s very practical to have apps using their own network stack.

7 Likes

i.e. allow the creation of a macvlan or ipvlan network from the TrueNAS GUI.

2 Likes

This is planned for Fangtooth but may not make Electric Eel.

The workaround is to use Dockge.

1 Like

Here’s an alternative to this request, which I think is more practical for inclusion in EE, even post release.

The difference is this is not providing a dedicated IP to a container/app, but rather allowing an app to to bind a port to a specific IP, which is created as an IP alias on a network interface.

I have already tested and this does work quite well in compose, and I believe should be able to be implemented in the current app system (ie with the existing questions/templates etc)

It just needs to be done for the apps.

2 Likes

IP Aliases implemented that way may have implications on the host networking stack, however. You really should not have multiple IPs in the same network.

IP Aliases on the same interface are fine. Its when they’re on different interfaces, outside of a bond, that you have an issue.

The disambiguation is handled by the destination ip address field for inbound traffic, and the ARP table handles the IP<->MAC mapping.

2 Likes

Thanks. I guess that the request may be closed as accepted and the votes released.

3 Likes

This is not planned for Fangtooth.

Its a feature we will need to consider for a future release.

1 Like

CORE it is then.

3 Likes

This feature has them most votes and is a major feature to be missing.

At the very least the TrueNAS team should recognise this and maybe let us know if if is going to be implement and a rough idea when.

I would like it to be in EE to go along with the new docker system.

My case is I want to proxy a Discord docker app I have on TrueNAS through my website server that I run on a virtual machine also on the same TrueNAS server.

I am a windows user and I really on use a GUI.

Thanks

1 Like

Then install Portainer, and manage your containers from there to have a GUI.

@william, @Captain_Morgan If a decision has been made and the requested GUI is in the roadmap, even in the distant future, please consider closing the request to relase votes.

We’ll write up the plan - which will have several options - before the end of this year.

Then, release the votes if its agreeable.

Is there plan to accept this feature. I had MariaDB, Postgres, Oracle DB running they all had their own IP address after upgrading to Electric Eel those IP’s are gone now all my apps are unable to connect to the databases. If somebody from the dev team can reply as to whether this will be accepted or not.

If no plan to accept this then I need to move my databases to Proxmox.

Reminder: The request is about a GUI for this setting. Your apps can already have their own IP but you have to set up a macvlan (or ipvlan) from the command line or from compose.yaml files.

If you want a GUI for that now, install Portainer and manage your containers from there.

1 Like

Like @etorix said, but in addition to that why can’t you use port redirection? Curious on the use case on why that won’t work.

In my opinion is it essential, because it breaks the migration from custom apps that used the external interface feature under Dragonfish.

I have 120 apps that make use of this external interface feature.
Its not practical to update for me in near future.
I only used the “official” way to run docker apps and now i am doomed.
That is a very bad decision in my opinion.
I am not willing to create 120 apps from scratch using YAML.

2 Likes

One of the CORE reasons I’m not using scale.:rofl:

2 Likes

Hello, Victor. This is Rent-A-Bot Inc.

Your next payment is due by November 30, 2024.

We would like to once again thank you for purchasing the Triple-Dozen Bot Vote™ bundle package.

Hope we can do business again soon,
-CEO of Rent-A-Bot

1 Like