
aguslr/atftpd服务器功能。atftpd是一个客户端/服务器模式的TFTP协议实现,支持RFCs 1350、2090、2347、2348、2349和7440标准,适用于通过网络传输文件,尤其适合PXE启动环境。
bashdocker run -p 69:69/udp \ docker.io/aguslr/atftpd:latest
192.168.1.10)。以下是dnsmasq的配置示例:bashdhcp-match=set:bios,option:client-arch,0 dhcp-match=set:efi32,option:client-arch,6 dhcp-match=set:efi64,option:client-arch,7 dhcp-match=set:efi64,option:client-arch,9 dhcp-boot=tag:bios,grub/i386-pc/core.0,tfp.lan,192.168.1.10 dhcp-boot=tag:efi32,grub/i386-efi/core.efi,tfp.lan,192.168.1.10 dhcp-boot=tag:efi64,grub/x86_64-efi/core.efi,tfp.lan,192.168.1.10
创建custom.cfg文件添加额外GRUB菜单条目(以netboot.xyz为例):
bashmenuentry --hotkey=n "netboot.xyz" { if [ "$_EFI" == true ]; then if [ "$_ARM64" == true ]; then chainloader disks/netboot.xyz/boot-arm64.efi else chainloader disks/netboot.xyz/boot.efi fi else linux16 grub/memdisk iso raw initrd16 disks/netboot.xyz/boot.iso fi }
将必要的镜像文件放入./disks目录,并通过卷挂载启动容器:
bashdocker run -p 69:69/udp \ -v "${PWD}"/disks:/data/disks \ -v "${PWD}"/custom.cfg:/data/grub/custom.cfg \ docker.io/aguslr/atftpd:latest
如需本地构建而非拉取远程镜像:
bashgit clone [***]
bashcd docker-atftpd && docker-compose up --build -d
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务