initial commit

This commit is contained in:
dave 2017-07-10 20:59:50 -07:00
commit 57656f44a1
4 changed files with 29 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM ubuntu:xenial
VOLUME /tftp
RUN apt-get update && \
apt-get install -y tftpd-hpa
ADD start /start
RUN chmod +x /start
ENTRYPOINT ["/start"]

5
README.me Normal file
View File

@ -0,0 +1,5 @@
tftpd-hpa in a docker container
listens on port 69 udp
run: docker run -v /host/data:/tftp -p 69:69/udp tftpd

5
start Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# --secure
exec /usr/sbin/in.tftpd --foreground --user tftp --address :69 /tftp

6
tftpd-hpa.conf Normal file
View File

@ -0,0 +1,6 @@
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftp"
TFTP_ADDRESS=":69"
TFTP_OPTIONS=""