mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2026-04-24 22:45:49 +03:00
[GH-ISSUE #114] netbootxyx not running on Docker Swarm #150
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-netbootxyz#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @masterlog80 on GitHub (Dec 4, 2025).
Original GitHub issue: https://github.com/netbootxyz/docker-netbootxyz/issues/114
Hello,
I have upgraded my environment from Docker Compose to Docker Swarm.
As result, altrough most of the application I am using keep working "netbootxyx" doesn't.
Specifically the PC booting in PXE get the IP from the DHCP Server, but once connecting to TFTP faces a timeout or similar Errors (depend by the BIOS I think).
Taking a look at the container, here is the output:
That IP 10.0.0.2 is part of the Ingress Network which is where the Container is reached from outside, so it doesn't have any relation with the PC booting on PXE.
I am assuming this behaviour being somehow related to the Network settings on Container:
Those settings are completely different from the one on a Docker (not Swarm) environment:
As I would like keep using Docker Swarm to guarantee HA, is there a workaround for this?
Regards,
@kaysond commented on GitHub (Dec 19, 2025):
Can you post your docker-compose? Are you using
TFTPD_OPTS: '--tftp-single-port'? You probably need to otherwise the ingress network won't forward the data.@masterlog80 commented on GitHub (Dec 21, 2025):
Hello @kaysond,
Sure. Here it is:
Nope. Let me try with that, as soon as possible.
Regards,
@kaysond commented on GitHub (Dec 21, 2025):
I'm guessing you also moved over from the LSIO container?
PORT_RANGEisn't supported by this image; it's not strictly a drop-in replacement despite what LSIO said. There should be a way to get the tftp server in this image to use a specific port range for data, but it was easier just to share the same port 69.You were probably getting timeouts because the data ports were random and being blocked by a firewall.
@masterlog80 commented on GitHub (Jan 5, 2026):
Hello @kaysond ,
Sorry for late reply.
Nope, this is a new deployment on Docker Swarm (previously running on Docker standalone).
I have just put
PORT_RANGEbecause I have seen it in the example YAML file.The default port is indeed fine for me, and it worked with Docker standalone (non Swarm).
I don't have any FW active on the device.
Do you know if netbootxyz was tested successfully on Docker Swarm?
Regards,