File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
# TFTP server
2
2
3
- Dockerized tftp-hpa server running in Alpine Linux.
3
+ Dockerized TFTP server running in Alpine Linux.
4
4
5
5
## Example
6
6
7
+ To use this container as a TFTP server for PXE boot, start the
8
+ container with the following Compose configuration:
9
+
7
10
```
8
- version: '2 '
11
+ version: '3 '
9
12
10
13
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
13
18
ports:
14
- - "69:69/udp"
19
+ - "0.0.0.0: 69:69/udp"
15
20
volumes:
16
- - /var/docker-volumes/tftp /tftpboot:/var/tftpboot:ro
21
+ - . /tftpboot:/var/tftpboot:ro
17
22
restart: unless-stopped
18
23
```
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.
You can’t perform that action at this time.
0 commit comments