Sign inSign up

eddie303/fogproject

By eddie303

Updated almost 7 years ago

Image
0

252

eddie303/fogproject repository overview

fogproject-docker

Please make sure that you have NFS support installed on the host and the modules nfs and nfsd are loaded. (In case of Ubuntu, you need the nfs-kernel-server package). If you intend to run the container on Ubuntu, you can achieve this by appending to /etc/modules.

sudo echo "nfs" >> /etc/modules
sudo echo "nfsd" >> /etc/modules

If one wants to run without --net host, then it will need the nf-conntrack-tftp and nf-nat-tftp modules loaded in the kernel. In this case, you're better off installing tftpd-hpa on the host and mounting /tftpboot as a volume, the container will populate the directory, but for the moment I can't figure out, how to put the internal tftpd to work properly as UDP packets are lost in the way back :/ You will need to disable apparmor on mysql on the host if you want to run the built-in mysql server with

ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/usr.sbin.mysql

The file start-fog.sh is a way to start the container. dhcpd is intended to run outside the container, hence the given configuration file. If you intend to run the database in another container, add --link your_mysql_instance:DB Great thanks to Tortuginator for the Python script!

Tag summary

Content type

Image

Digest

Size

331.8 MB

Last updated

almost 7 years ago

docker pull eddie303/fogproject