HUB
Sign inSign up
tftpd logo

didstopia/tftpd

By didstopia

•Updated over 5 years ago

Tftpd in a Docker container.

Image
0

923

didstopia/tftpd repository overview

⁠Tftpd Docker Image

NOTE: This is a fork of wastrachan/docker-tftpd⁠ with a few additions, such as control over tftpd verbosity.

Tftpd in a Docker container, with data directory in a volume, and a configurable UID/GID for data files.

GitHub Actions

⁠Install

⁠Docker Hub

Pull the latest image from Docker Hub:

docker pull didstopia/tftpd:latest
⁠Manually

Clone this repository, and run make build to build an image:

git clone https://github.com/Didstopia/docker-tftpd.git
cd docker-tftpd
make build

If you need to rebuild the image, run make clean build.

⁠Run

⁠Docker

Run this image with the make run shortcut, or manually with docker run.

docker run -v "$(pwd)/data:/data" \
           --name tftpd \
           -p 69:69/udp \
           -e PUID=1111 \
           -e PGID=1112 \
           -e TFTPD_DEBUG=true \
           --restart unless-stopped \
           didstopia/tftpd:latest
⁠Docker Compose

If you wish to run this image with docker-compose, an example docker-compose.yml might read as follows:

---
version: "2"

services:
  tftpd:
    image: didstopia/tftpd:latest
    container_name: tftpd
    environment:
      - PUID=1111
      - PGID=1112
      - TFTPD_DEBUG=true
    volumes:
      - </path/to/data>:/data
    ports:
      - 69:69/udp
    restart: unless-stopped

⁠Configuration

⁠User / Group Identifiers

If you'd like to override the UID and GID of the tftpd process, you can do so with the environment variables PUID and PGID. This is helpful if other containers must access your configuration volume.

⁠Services
ServicePort
TFTPD69
⁠Volumes
VolumeDescription
/dataData directory for files served by tftpd

⁠License

The content of this project itself is licensed under the MIT License⁠.

View license information⁠ for the software contained in this image.

Tag summary
Recent tags
Content type
Image
Digest
Size
9 MB
Last updated
over 5 years ago
docker pull didstopia/tftpd:latest