Hello,
I’ve created a build script for FOG with rkt. It’s based on the latest RC 1.3.5.
The default configuration uses ProxyDHCP.
Github: https://github.com/THS-on/rkt-fog
To run and build this container you need:
First you need to load the NFS kernel modules with:
sudo modprobe nfs && sudo modprobe nfsd
Then clone the rkt-fog repository and go to the directory:
git clone https://github.com/THS-on/rkt-fog.git && cd rkt-fog
Change 192.0.2.1 in files/.fogsettings
and files/dnsmasq.con
to your FOG IP.
Change 192.0.2.2 in files/.fogsettings
to your routeraddress.
Build the container with:
make build
Final steps
Run container (creates directories for mysql and images, loads kernel modules):
make run
Now you can access fog.
- Web interface: http://YOUR_IP/fog
- User: fog
- Password: password
- Password for ftp: secret
Not all files are persistent yet!
Please help testing and maybe somebody can also port this to a Dockerfile.
Edit1: Added persistent mysql support and simplified startup
Edit2: Upgraded to 1.3.5