From 369654bc4d8c1479839480a8515e9641fb89b95e Mon Sep 17 00:00:00 2001 From: qinshulei <527072230@qq.com> Date: Wed, 10 May 2017 10:52:41 +0800 Subject: TFTP base on UDP protocol --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5647f9..03d13db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,6 +57,6 @@ RUN /start.sh \ COPY configs/tftpd-hpa /etc/default/tftpd-hpa -EXPOSE 69 80 5555 5556 +EXPOSE 69/udp 80 5555 5556 CMD /start.sh && bash diff --git a/README.md b/README.md index b51c5d3..3597b10 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,6 @@ sudo docker build -t lava . To run the image from a host terminal / command line execute the following: ``` -sudo docker run -it -v /dev:/dev -p 69:69 -p 80:80 -p 5555:5555 -p 5556:5556 -h --privileged kernelci/lava-docker:latest +sudo docker run -it -v /dev:/dev -p 69:69/udp -p 80:80 -p 5555:5555 -p 5556:5556 -h --privileged kernelci/lava-docker:latest ``` Where HOSTNAME is the hostname used during the container build process (check the docker build log), as that is the name used for the worker configuration. You can use `lava-docker` as the pre-built container hostname. -- cgit 1.2.3-korg