I'm trying to setup a PXE boot server on the control node of a multi node mini cluster, then having each node connect to a docker swarm.
Following the instructions on this site (https://jpetazzo.github.io/2013/12/07/pxe-netboot-docker/), i'm running the command docker run jpetazzo/pxe
as root, but the docker container is telling me that i'm not using root, even though I am.
root@debian:/home/anthony# docker run jpetazzo/pxe
Setting up iptables...
iptables v1.4.21: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
How should I resolve this issue? Is there a better/easier way of setting up a PXE boot server?
Edit: I'm using the latest version of Debian and Docker