Skip to content

Commit 72e0ff2

Browse files
committed
Documentation improvements.
1 parent b37f42b commit 72e0ff2

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
# TFTP server
22

3-
Dockerized tftp-hpa server running in Alpine Linux.
3+
Dockerized TFTP server running in Alpine Linux.
44

55
## Example
66

7+
To use this container as a TFTP server for PXE boot, start the
8+
container with the following Compose configuration:
9+
710
```
8-
version: '2'
11+
version: '3'
912
1013
services:
11-
server:
12-
image: taskinen/tftp
14+
tftp-server:
15+
image: taskinen/tftp:latest
16+
entrypoint: in.tftpd
17+
command: -L -4 --secure --address 0.0.0.0:69 --verbosity 3 /var/tftpboot
1318
ports:
14-
- "69:69/udp"
19+
- "0.0.0.0:69:69/udp"
1520
volumes:
16-
- /var/docker-volumes/tftp/tftpboot:/var/tftpboot:ro
21+
- ./tftpboot:/var/tftpboot:ro
1722
restart: unless-stopped
1823
```
24+
25+
Put your `pxelinux.0` boot file to `./tftpboot` directory and configure
26+
your DHCP server to issue command to boot your clients from `pxelinux.0`
27+
from your Docker host's IP address.

0 commit comments

Comments
 (0)