version: '2'
services: bind:
image: mcchae/tftp-server
ports:
- "69:69/udp"
volumes:
- ${PWD}/dhv/tftp:/var/tftpboot
## 테스트
### start tftp
```sh
$ docker-compose up
$ echo "hello world" | sudo tee ${PWD}/dhv/tftp/hello.txt
$ echo "get hello.txt" | tftp 127.0.0.1
tftp> get hello.txt
tftp>
$ cat hello.txt
hello world
Content type
Image
Digest
Size
4.5 MB
Last updated
about 7 years ago
docker pull mcchae/tftp-server