diff options
author | Tyler Baker <forcedinductionz@gmail.com> | 2017-05-10 08:58:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 08:58:00 -0700 |
commit | 5329627d1e33c2d64bb532a89e3c687baf51d086 (patch) | |
tree | c2ba274c82ea038d090f9dbe5111b38f0123f745 | |
parent | 2e448945269ca28b644f587bf40afd9fe6c38583 (diff) | |
parent | 369654bc4d8c1479839480a8515e9641fb89b95e (diff) |
Merge pull request #3 from qinshulei/master
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. |