Replies: 1 comment 1 reply
-
|
Thanks for the suggestions. I am not really a docker expert and have only limited experience with it. The existing docker-compose file available is made available just to help out people who are new to docker and can edit it as required for their deployments. For anyone with specific requirements, they would be expected to know docker better than me and would be able to edit the docker-compose as per their requirements.
The DHCP server binds to the local IP address based on the Scope you create. If you have multiple scopes, it will bind to the appropriate IP addresses for each scope. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to share my docker deployment for DHCP services as I believe that it has advantages over the current
docker-compose.ymlin Github. I am not a Docker specialist and I am open for suggestions on how to improve it.I do see two main avenues for Docker with Technitium:
docker-compose.ymldoes not really shine. The functionality of DHCP needs access to broadcasts.I would like to propose two improved sample
docker-compose.ymlfiles. Both solutions work with an explicit volume to store caches and configuration as I would like to be able to work with snapshots and backups. I suppose, you could also use theconfigvolume type as shown in the current example.Technitium purely as DNS server
Technitium as DNS and DHCP server
When DHCP is required, you can run Technitium with the Macvlan network driver. The currently suggested solution with
network_mode="host"has several severe drawbacks:rootbecause Technitium needs to bind to priviledged ports. The container would not be separated from the network context of the host.Feel free to integrate my sample into the documentation so that others can profit as well. I'd be happy to hear about any inconsistencies or problems in my samples.
Beta Was this translation helpful? Give feedback.
All reactions