enable/include docker-dhcp-net plugin to make containers use the default (net-wide) dhcp-server


Recommended Posts

Even with macvlan support, using a central DHCP management solution for all clients and hosts in your network is not possible for Dockers in unraid.

 

This is a docker plugin, that promises to solve that: https://github.com/devplayer0/docker-net-dhcp

...from the readme.md:

 

docker-net-dhcp

docker-net-dhcp is a Docker plugin providing a network driver which allocates IP addresses (IPv4 and optionally IPv6) via an existing DHCP server (e.g. your router).

When configured correctly, this allows you to spin up a container (e.g. docker run ... or docker-compose up ...) and access it on your network as if it was any other machine!

 

 

  • Like 1
  • Upvote 3
Link to comment
On 3/5/2022 at 9:03 PM, Ford Prefect said:

Even with macvlan support, using a central DHCP management solution for all clients and hosts in your network is not possible for Dockers in unraid.

Just out of curiosity if you install it like in the linked GitHub repo doesn't it work and should persist reboots?

 

Also is this plugin actively maintained since the last commit was about 8 months ago.

Link to comment
2 minutes ago, ich777 said:

Just out of curiosity if you install it like in the linked GitHub repo doesn't it work and should persist reboots?

.....I don't have an option to test this, ATM...no spare parts.

 

2 minutes ago, ich777 said:

Also is this plugin actively maintained since the last commit was about 8 months ago.

I don't know, but I'd rather see this as a starting point. If this feature gets accepted, of course there needs to be a staff or community maintainer for unraid appointed.

 

Link to comment
  • 4 months later...
  • 2 months later...
  • 1 month later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.