Tftp configuration on Docker-compose

I am using docker-compose on ubuntu 16.04 . In docker-compose one of the service is running tftp server . And i’m trying boot a board using tftp which is connected to same LAN as host. But i’m getting Retry count exceeded; starting again error when i try to load images .

What configuration I have to do in Ubuntu to provide access for docker-compose service to run its tftp server?

You might have a look at Timo Taskinen’s TFTP server page on GH. There is a compose file, as well as the Dockerfile used to generate the image containing the TFTP server. That uses compose file format 2, which is relatively old these days and is forward-compatible in most instances.