Sign inSign up

cristol/tftp-server

By cristol

•Updated 9 months ago

Minimal Docker image running atftpd to serve TFTP files.

Image
1

403

cristol/tftp-server repository overview

⁠Tftp-server

Minimal Docker image running atftpd to serve TFTP files.

Place files to serve in the data folder (mounted inside the container at /data).

⁠Deployment

⁠Docker run
docker pull cristol/tftp-server
docker run -d \
  --name Tftp-server \
  --network host \
  -v "$PWD/data":/data \
  -e TZ=Europe/Paris \
  -e VERBOSE=5 \
  -e PUID=1000 \
  -e PGID=1000 \
  cristol/tftp-server
⁠Options

Environment variables supported (defaults):

  • TZ: timezone inside the container (default: Europe/Paris).
  • VERBOSE: atftpd verbosity level (0-7, default: 5).
  • PUID: UserID applied to data files (Owner) (default: 1000).
  • PGID: GroupID applied to data files (Group) (default: 1000).
⁠Docker compose

docker-compose.yml⁠

⁠Logs

Atftpd logs are send to /dev/stdout

docker logs -f Tftp-server

⁠Notes

  • Uses --network host to expose TFTP on the host network (no port mapping required). You can use -p 69:69/udp instead of --network host but put file not working.
  • Ensure file permissions in data allow the configured UID(PUID)/GID(PGID) to read files.

Cristol Bardou

Tag summary

Content type

Image

Digest

sha256:e0b817909…

Size

27.1 MB

Last updated

9 months ago

docker pull cristol/tftp-server