Skip to content

pvl7/docker-tftpd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tftpd Docker Image

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

CircleCI

Install

Docker Hub

Pull the latest image from Docker Hub:

docker pull wastrachan/tftpd

Manually

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

git clone https://github.com/wastrachan/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 \
           --restart unless-stopped \
           wastrachan/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: wastrachan/tftpd
    container_name: tftpd
    environment:
      - PUID=1111
      - PGID=1112
    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

Service Port
TFTPD 69

Volumes

Volume Description
/data Data 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.

About

Tftpd in a Docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 50.8%
  • Shell 29.4%
  • Dockerfile 19.8%