services:
iventoy:
image: szabis/iventoy:latest
network_mode: "host"
container_name: iventoy
restart: unless-stopped
privileged: true #must be true
environment:
- AUTO_START_PXE=true
# ports:
# - "67:67/udp" # DHCP Server
# - "69:69/udp" # TFTP Server
# - "10809:10809" # NBD Server (NBD)
# - "16000:16000" # PXE Service HTTP Server (iVentoy PXE Service)
# - "26000:26000" # PXE GUI HTTP Server (iVentoy GUI)
volumes:
- /home/docker/iventoy/data:/opt/iventoy/data
- /mnt/medias/isos/template/iso:/opt/iventoy/iso
- /home/docker/iventoy/log:/opt/iventoy/log
- /home/docker/iventoy/user:/opt/iventoy/user

爱快的dhcp next server配置,实测成功,少一项都不行,10.0.0.5是iventoy所在的主机ip

客户端是UEFI的要把安全启动关掉,不然无法从网络安装