fog in a docker container - data storage



  • Hi,

    i’ve installed FOG into a docker container. Now i’m thinking about data storage (Docker Volumes or bind mounts). Which fog-directories will store variable data?
    I think, it must be:

    • the Image directory (/image)
    • the tftp dir (/tftpboot)
    • the database (/var/lib/mysql)
    • snapins (/opt/fog/snapins/)

    Are there any other interesting directories? Maybe it would be a good idea to use a docker volume for the entire fog-folder (/opt/fog)


  • Moderator

    @lebowski while its not dynamic data fog does install/alter files in

    /var/www/html/fog
    /etc/<apache_config>

    You could (might want to) consolidate /images and move it into /opt/fog/images you can do that with a loop mount or when you install FOG point to that location instead of the default location of /images.

    If you are going to use dnsmasq for your setup then /etc/dnsmasq.conf and /etc/dnsmasq.d

    The other issue is installing/upgrading fog. If you use the github method you need a location to clone the repository.


Log in to reply
 

389
Online

39.4k
Users

11.1k
Topics

105.3k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.