netboot.xyz in Docker

Recently I tried out both the official netbook.xyz and the LinuxServer.io Version of netboot.xyz in a Docker Container using docker-compose. With both containers I wasn’t able to pull the netboot file from the TFTP server within the container. In the docker logs I saw an permission denied error message of the TFTP Daemon. I was not sure how to solve this, but changing the network from „bridge“ to „host“ solved the issue. Just add a

network: host
network_mode: "host"

depending on your docker-compose version.