mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
fix tftpd
This commit is contained in:
parent
241d46662c
commit
89f2280b8f
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user