Skip to content

Custom Docker Network - Not assigning the allocated IPs correctly #3865

@Kieranwest

Description

@Kieranwest

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.

Current Behavior

Looking at https://pterodactyl.io/wings/1.0/configuration.html#custom-network-interfaces and cross referencing networks from the 'docker network list' command. I've been trying to get the docker containers on my unRAID server to correctly assign their IP addresses onto my LAN.

Both Wings and the Panel seem to be communicating fine and creating these containers however upon modifying the config.yml to use the macvlan driver and my br0 network. Servers are being assigned random IP addresses from my Internal subnet instead of the allocated ones in the panel. I can confirm the name, driver and mode are matching with my unRAID settings along with the subnet supplied under the v4 interface settings.

I noticed there was a flag for is_internal under the network section and setting that to either true or false seems to have no affect. Not sure if what I'm asking for is possible as docker networking can be a little hazy for me.

Expected Behavior

Changing docker networking to align with unRAIDS existing docker networks to allow allocated IPs via Pterodactyl to be assigned to the docker container directly. Perhaps using the --ip flag, allowing static addresses to be assigned to containers.

Steps to Reproduce

Under config.yml
docker.network.name - br0 (Name of my unRAID docker network)
docker.network.driver - macvlan (Matches unRAID docker network driver)
docker.network.is_internal - neither true or false seemed to have an affect
docker.network.interfaces.v4.subnet - x.x.x.x/y (Aligns with my internal network)
docker.network.interfaces.v4.gateway - x.x.x.x (My networks gateway)

Panel Version

1.6.6

Wings Version

1.5.3

Error Logs

https://ptero.co/exihuvacos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions