## Persisting Configuration - Run iVentoy without the data volume mapped to a temporary container ```bash sudo docker run -d --privileged -p 69:69 -p 26000:26000 -p 16000:16000 -p 10809:10809 -v /volume1/docker/appdata/iventoy/iso:/iventoy/iso --name iventoy-tmp garybowers/iventoy:latest ``` - Copy the contents of the data folder to your persistent storage ```bash sudo docker cp iventoy-tmp:/iventoy/data/iventoy.dat /volume1/docker/appdata/iventoy/data/ sudo docker cp iventoy-tmp:/iventoy/data/config.dat /volume1/docker/appdata/iventoy/data/ <---[Might not exist, skip if not] sudo docker cp iventoy-tmp:/iventoy/data/mac.db /volume1/docker/appdata/iventoy/data/ ``` - Delete the temporary container ```bash sudo docker rm iventoy-tmp --force ``` - Create project on Synology Container Manager with the following yaml ```yaml services: iventoy: image: garybowers/iventoy:latest container_name: iventoy network_mode: host restart: always privileged: true volumes: - /volume1/docker/appdata/iventoy/iso:/iventoy/iso - /volume1/docker/appdata/iventoy/data:/iventoy/data - /volume1/docker/appdata/iventoy/log:/iventoy/log ``` ## Configure your DHCP server - Set network boot option in your DHCP settings to: | Server | FileName | | --------------- | -------------------- | | xxx.xxx.xxx.xxx | iventoy_loader_16000 | ## Configure iVentoy - Once your container is up and running go to the IP address of your server on port 26000 e.g. [http://10.0.0.1:26000](http://10.0.0.1:26000) - Ensure the Server IP is selected correctly. This should show the same ip as your Synology system since we are using host mode ![[Pasted image 20240917222551.png]] - On the configuration menu on the left, If you are using a external DHCP server then ensure the `DHCP Server Mode` is set to `External` ![[Pasted image 20240917213553.png]] - Copy a ISO file to your isos folder (locally as set by the volumes above) and go to the `Image Management` menu on the left and hit refresh. ![[Pasted image 20240917213614.png]] ![[Pasted image 20240917213646.png]] - Start the server by hitting the bit play button on the `Boot Information` menu screen ![[Pasted image 20240917222524.png]] ![[Pasted image 20240917213721.png]] - Test booting ![[Pasted image 20240917213733.png]] ## Sources [GitHub - ziggyds/iventoy: Dockerized version of ventoy for use on unraid](https://github.com/ziggyds/iventoy) [GitHub - garybowers/iventoy\_docker: iVentoy PXE Server in a Docker Container](https://github.com/garybowers/iventoy_docker)