Oleg Ilyin
Oleg Ilyin

Reputation: 161

Allow bootp for dnsmasq in docker container

I try to run dnsmasq which have to provide DHCP + BOOTP, but dnsmask doesn't open 67\udp port when it is running in container.

With similar configuration file on the host system it works properly.

I run container with flags -net host and -privileged, but it doesn't help me.

Why dnsmasq doesn't want to open 67/udp (BOOTP server) into container? How I able to fix it for doing that?

Upvotes: 1

Views: 533

Answers (1)

Oleg Ilyin
Oleg Ilyin

Reputation: 161

the root cause isn't in docker configuration. I missed to add configuration file /etc/dnsmasq.d/default.conf with required parameters. After adding it 67 port was opened and exposing began works

Upvotes: 1

Related Questions