tftp working

Szymon Karpiński 7 years ago
parent 5fd38ca5f0
commit 62b72a3ffb
  1. 2
      tftp/Dockerfile
  2. 10
      tftp/Readme.md

@ -1,6 +1,4 @@
FROM debian:buster
RUN apt update && apt install -y xinetd tftpd-hpa
RUN mkdir -p /tftpboot && chmod -R 777 /tftpboot && chown -R nobody /tftpboot
COPY tftp.xinetd.conf /etc/xinetd.d/tftp
COPY Dockerfile /tftpboot/test
CMD ["script", "-c", "/usr/sbin/xinetd -d"]

@ -0,0 +1,10 @@
##TFTP Docker
Starts TFTP server serving files from `/tftpboot`.
A directory to serve files from must be bound to `/tftpboot` on run.
Example run command:
```
docker run --net host -v /path/to/your/files:/tftpboot images/tftp
```
Loading…
Cancel
Save