- Drop .iso files in
./volumes/isos/
- Extract from those ISOs the kernel (usually
vmlinuz
orlinux
) and the initrd (usuallyinitrd.gz
orinitrd.lz
) and drop them at./volumes/files/
- Each .iso could have its own folder at
./volumes/files/
to organize the kernel and initrd files
- Each .iso could have its own folder at
- Edit
./volumes/tftpboot/pxelinux.cfg/distros
to add the distro you want to configure. Each distro has a different way of being called, some online research might be necessary. You can look at the syslinux official documentation to check the options available. - Configure a static ip in your network interface. For example: 10.0.0.1/24
- Edit
docker-compose.yml
, thecommand:
options are passed todnsmasq
. Configure the network with the configuration you want. You can look at the dnsmasq official documentation for other arguments.- Remember to change
enp6s0
with the name of your network interface
- Remember to change
- Make sure port 53 and 80 are not being used
- Run
docker-compose build && docker-compose pull
to prepare the images
docker-compose up -d