fix tftpd

This commit is contained in:
kev 2023-06-29 14:27:49 +08:00
parent 241d46662c
commit 89f2280b8f
2 changed files with 2 additions and 3 deletions

View File

@ -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
```

View File

@ -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