summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqinshulei <527072230@qq.com>2017-05-10 10:52:41 +0800
committerqinshulei <527072230@qq.com>2017-05-10 10:52:41 +0800
commit369654bc4d8c1479839480a8515e9641fb89b95e (patch)
treec2ba274c82ea038d090f9dbe5111b38f0123f745
parent2e448945269ca28b644f587bf40afd9fe6c38583 (diff)
TFTP base on UDP protocol
-rw-r--r--Dockerfile2
-rw-r--r--README.md2
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 <HOSTNAME> --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 <HOSTNAME> --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.