diff options
author | qinshulei <527072230@qq.com> | 2017-05-10 10:52:41 +0800 |
---|---|---|
committer | qinshulei <527072230@qq.com> | 2017-05-10 10:52:41 +0800 |
commit | 369654bc4d8c1479839480a8515e9641fb89b95e (patch) | |
tree | c2ba274c82ea038d090f9dbe5111b38f0123f745 | |
parent | 2e448945269ca28b644f587bf40afd9fe6c38583 (diff) |
TFTP base on UDP protocol
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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. |