From 89f2280b8f749b32f25850195c70685aba8914dd Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 29 Jun 2023 14:27:49 +0800 Subject: [PATCH] fix tftpd --- tftpd/README.md | 2 +- tftpd/docker-compose.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tftpd/README.md b/tftpd/README.md index 7ee750d..f8e44ba 100644 --- a/tftpd/README.md +++ b/tftpd/README.md @@ -8,7 +8,7 @@ tftpd ```bash $ docker-compose up -d $ echo 'hello world' > /tmp/hello.txt -$ curl -T /tmp/hello.txt tftp://127.0.0.1 +$ curl -T /tmp/hello.txt tftp://127.0.0.1/ $ curl tftp://127.0.0.1/hello.txt ``` diff --git a/tftpd/docker-compose.yml b/tftpd/docker-compose.yml index aef78ca..6430eb0 100644 --- a/tftpd/docker-compose.yml +++ b/tftpd/docker-compose.yml @@ -2,8 +2,7 @@ version: "3.8" services: tftpd: image: vimagick/tftpd - ports: - - "69:69/udp" volumes: - ./data:/data + network_mode: host restart: unless-stopped