initial commit
This commit is contained in:
commit
57656f44a1
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
5
README.me
Normal 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
5
start
Normal 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
6
tftpd-hpa.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# /etc/default/tftpd-hpa
|
||||
|
||||
TFTP_USERNAME="tftp"
|
||||
TFTP_DIRECTORY="/tftp"
|
||||
TFTP_ADDRESS=":69"
|
||||
TFTP_OPTIONS=""
|
Loading…
x
Reference in New Issue
Block a user