{"id":21531513,"url":"https://github.com/aguslr/docker-atftpd","last_synced_at":"2025-03-17T19:24:57.088Z","repository":{"id":189324525,"uuid":"633910507","full_name":"aguslr/docker-atftpd","owner":"aguslr","description":"Set up advanced TFTP server to share images via PXE","archived":false,"fork":false,"pushed_at":"2024-05-28T10:13:28.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T06:28:53.382Z","etag":null,"topics":["atftpd","docker","podman","tftp","tftp-server","tftpd"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aguslr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T15:04:22.000Z","updated_at":"2024-05-28T10:13:31.000Z","dependencies_parsed_at":"2025-01-24T06:36:31.345Z","dependency_job_id":null,"html_url":"https://github.com/aguslr/docker-atftpd","commit_stats":null,"previous_names":["aguslr/docker-atftpd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-atftpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-atftpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-atftpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aguslr%2Fdocker-atftpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aguslr","download_url":"https://codeload.github.com/aguslr/docker-atftpd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094715,"owners_count":20397093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atftpd","docker","podman","tftp","tftp-server","tftpd"],"created_at":"2024-11-24T02:14:37.465Z","updated_at":"2025-03-17T19:24:52.069Z","avatar_url":"https://github.com/aguslr.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[aguslr/docker-atftpd][1]\n=========================\n\n[![publish-docker-image](https://github.com/aguslr/docker-atftpd/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/aguslr/docker-atftpd/actions/workflows/docker-publish.yml) [![docker-pulls](https://img.shields.io/docker/pulls/aguslr/atftpd)](https://hub.docker.com/r/aguslr/atftpd) [![image-size](https://img.shields.io/docker/image-size/aguslr/atftpd/latest)](https://hub.docker.com/r/aguslr/atftpd)\n\n\nThis *Docker* image sets up *aftpd* inside a docker container.\n\n\u003e **[atftpd][2]** is a client/server implementation of the TFTP protocol that\n\u003e implements RFCs [1350][3], [2090][4], [2347][5], [2348][6], [2349][7] and\n\u003e [7440][8].\n\n\nInstallation\n------------\n\nTo use *docker-atftpd*, follow these steps:\n\n1. Clone and start the container:\n\n       docker run -p 69:69/udp \\\n         docker.io/aguslr/atftpd:latest\n\n2. Configure your *PXE* server to connect to your *TFTP* server's IP address\n   (e.g. `192.168.1.10`). For example, this would be the [configuration for\n   *dnsmasq*][14]:\n\n       dhcp-match=set:bios,option:client-arch,0\n       dhcp-match=set:efi32,option:client-arch,6\n       dhcp-match=set:efi64,option:client-arch,7\n       dhcp-match=set:efi64,option:client-arch,9\n       dhcp-boot=tag:bios,grub/i386-pc/core.0,tfp.lan,192.168.1.10\n       dhcp-boot=tag:efi32,grub/i386-efi/core.efi,tfp.lan,192.168.1.10\n       dhcp-boot=tag:efi64,grub/x86_64-efi/core.efi,tfp.lan,192.168.1.10\n\n\n#### Custom GRUB entries\n\nTo configure additional GRUB entries, we can add these to a `custom.cfg` file\n(e.g. for [nextboot.xyz][13]):\n\n    menuentry --hotkey=n \"netboot.xyz\" {\n      if [ \"$_EFI\" == true ]; then\n        if [ \"$_ARM64\" == true ]; then\n          chainloader disks/netboot.xyz/boot-arm64.efi\n        else\n          chainloader disks/netboot.xyz/boot.efi\n        fi\n      else\n        linux16 grub/memdisk iso raw\n        initrd16 disks/netboot.xyz/boot.iso\n      fi\n    }\n\nWe would have to copy the necessary image files into the `./disks` directory so\nwe can go ahead and mount the volumes as follows:\n\n    docker run -p 69:69/udp \\\n      -v \"${PWD}\"/disks:/data/disks \\\n      -v \"${PWD}\"/custom.cfg:/data/grub/custom.cfg \\\n      docker.io/aguslr/atftpd:latest\n\n\nBuild locally\n-------------\n\nInstead of pulling the image from a remote repository, you can build it locally:\n\n1. Clone the repository:\n\n       git clone https://github.com/aguslr/docker-atftpd.git\n\n2. Change into the newly created directory and use `docker-compose` to build and\n   launch the container:\n\n       cd docker-atftpd \u0026\u0026 docker-compose up --build -d\n\n\nReferences\n----------\n\n- [TFTP - Debian Wiki][9]\n- [TFTP - ArchWiki][10]\n- [GitHub - csclabs/atftpd: Docker container for atftpd][11]\n- [PXE (with grub2) — Linux Guide and Hints][12]\n\n\n[1]:  https://github.com/aguslr/docker-atftpd\n[2]:  https://sourceforge.net/projects/atftp/\n[3]:  https://www.rfc-editor.org/rfc/rfc1350\n[4]:  https://www.rfc-editor.org/rfc/rfc2090\n[5]:  https://www.rfc-editor.org/rfc/rfc2347\n[6]:  https://www.rfc-editor.org/rfc/rfc2348\n[7]:  https://www.rfc-editor.org/rfc/rfc2349\n[8]:  https://www.rfc-editor.org/rfc/rfc7440\n[9]:  https://wiki.debian.org/TFTP\n[10]: https://wiki.archlinux.org/title/TFTP\n[11]: https://github.com/csclabs/atftpd\n[12]: https://linuxguideandhints.com/el/pxeboot.html\n[13]: https://github.com/netbootxyz/netboot.xyz\n[14]: https://wiki.archlinux.org/title/dnsmasq#PXE_server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-atftpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faguslr%2Fdocker-atftpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faguslr%2Fdocker-atftpd/lists"}