Im trying to set up a TFTP server in docker as a first step of setting up PXE booting, but I can't connect to it.
I start the container using the command docker run --name tftp -p 0.0.0.0:69:69/udp -v /var/tftpboot/:/var/tftpboot -d local-tftp
.
From inside the container I can run curl -o ./foo tftp://0.0.0.0/foo
and it works, from outside the container I run the same command (with the proper ip) from the docker host or a different computer on the network, both don't work.
I tried disabling the firewall on the host, but that doesn't help either, do its not a firewall issue.
Any help, or an alternative solution to set this up, is appreciated.