dockerfiles/tftpd
kev c7a4f2d632 update tftpd 2023-06-29 16:34:49 +08:00
..
Dockerfile update tftpd 2023-06-29 16:34:49 +08:00
README.md update tftpd 2023-06-29 16:28:48 +08:00
docker-compose.yml fix tftpd 2023-06-29 14:27:49 +08:00

tftpd

tftpd is a server for the Trivial File Transfer Protocol.

up and running

$ docker-compose up -d
$ echo 'hello world' > /tmp/hello.txt
$ curl -T /tmp/hello.txt tftp://127.0.0.1/
$ curl tftp://127.0.0.1/hello.txt

realtime logging

$ docker-compose exec tftpd sh
>>> apk add --no-cache inetutils-syslogd
>>> syslogd
>>> tail -f /var/log/syslog
Jun 29 08:26:30 server syslogd (GNU inetutils 2.4): restart
Jun 29 08:27:28 server in.tftpd[90]: WRQ from 127.0.0.1 filename hello.txt
Jun 29 08:27:34 server in.tftpd[91]: RRQ from 127.0.0.1 filename hello.txt