docker build --rm --tag=pghalliday/tftp .
docker run -p 0.0.0.0:69:69/udp -i -t pghalliday/tftp
Mounts the following volume for persistent data
To map the volume to a host directory
docker run -p 0.0.0.0:69:69/udp -v /var/tftpboot:/var/tftpboot -i -t pghalliday/tftp
Same problem here spierepf, but it works using other IP of the docker host, for example the IP of the ethernet interface.
I've included this container in my docker-compose, and exported the 69/udp port. However, I can only connect to the docker interface, and not the external one. From the host, "tftp 172.19.0.3" works but "tftp localhost" doesn't.