<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Hmm it so make sense.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">You use alpine base image and alpine package.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">isc has already provide alpine package, good.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">But what about kea modules such as kea-netconf-plugin ?<br>is there a way to use modules in docker such as alpine base image or something like that?</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Many thanks</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">With best regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ben Monroe <<a href="mailto:bendono@gmail.com">bendono@gmail.com</a>>, 7 May 2021 Cum, 05:00 tarihinde şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Onur,<br><br>I do not use netconf so I cannot comment.<br>But I do run Kea as a container. Here is my dockerfile for reference:<br><br>FROM alpine:latest<br><br>RUN apk add --no-cache tzdata && \<br>  cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \<br>  apk del tzdata<br>RUN apk add --no-cache kea-dhcp4 kea-admin mariadb-client kea-hook-mysql-cb<br>RUN mkdir -p /run/kea<br><br>ENTRYPOINT ["/usr/sbin/kea-dhcp4"]<br>CMD ["-c", "/etc/kea/kea-dhcp4.conf"]<br><br>You should adjust the timezone as appropriate. You can also remove kea-admin, mariadb-client, and kea-hook-mysql-cb if you are not storing your leases in an external database.<br><br>In your Kea config be careful of interfaces-config / interfaces. I needed to alter mine from the default.<br><br>As for running the container, the easiest option is to run in "network_mode: host" mode so that you receive the DHCP broadcasts.<br><br>It is more complicated if you want to give your container a dedicated Dcoker network and only listen on 67/UDP. This will miss the DHCP broadcasts, so you'll need an intermediate DCHP relay (such as a router) to forward you such requests. You will also need to overwrite the DHCP server IP that is returned so that clients can find your container host rather than the internal Docker container when renewing.<br><br>Regards,<br>Ben<br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 5, 2021 at 3:45 PM Onur GURSOY <<a href="mailto:onurgursoygyte@gmail.com" target="_blank">onurgursoygyte@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><div class="gmail_default">Hello Folks,</div><div class="gmail_default"><br></div><div class="gmail_default">First, I have to say: KEA is a great solution.</div><div class="gmail_default">I used isc-dhcp but KEA is more modern than isc-dhcp.</div><div class="gmail_default"><br></div><div class="gmail_default">So Nowadays,</div><div class="gmail_default">I'm working on dhcp which can be controlled over netconf.</div><div class="gmail_default">In this case, I've noticed that kea is on the stage.</div><div class="gmail_default">As far as i know, KEA supports netconf and sysrepo.</div><div class="gmail_default">But i couldn't see official docker support?</div><div class="gmail_default"><br></div><div class="gmail_default">I want to execute KEA on a docker container </div><div class="gmail_default">and </div><div class="gmail_default">I want to execute SYSREPO on a different docker container</div><div class="gmail_default">and</div><div class="gmail_default">I want to configure KEA over netconf.</div><div class="gmail_default"><br></div><div class="gmail_default">How can I do this ?<br>Is there any official guideline ?</div><div class="gmail_default">or Is it possibly ?</div><div class="gmail_default"><br></div><div class="gmail_default">By the way, Is it possible to build KEA on a docker container?</div><div class="gmail_default">Again Is there any official guideline ?</div><div style="font-family:Arial,Helvetica,sans-serif"><br></div><div style="font-family:Arial,Helvetica,sans-serif"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">Many thanks in advance,</div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">Have nice and healthy day,</div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">With best regards.</div></div></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Onur GÜRSOY<br>R&D Engineer in Embedded Systems<br>Master Student at Gebze Institute Of Technology<br>Department Of Electronic Engineering<br>GSM : 0(545) 764 7653<br>e-mail: <a href="mailto:onurgursoygyte@gmail.com" target="_blank">onurgursoygyte@gmail.com</a></div></div></div></div>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Onur GÜRSOY<br>R&D Engineer in Embedded Systems<br>Master Student at Gebze Institute Of Technology<br>Department Of Electronic Engineering<br>GSM : 0(545) 764 7653<br>e-mail: <a href="mailto:onurgursoygyte@gmail.com" target="_blank">onurgursoygyte@gmail.com</a></div></div></div>