• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

fog in a docker container - data storage

Scheduled Pinned Locked Moved
General
2
2
980
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    Lebowski
    last edited by Nov 24, 2017, 9:55 AM

    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)

    G 1 Reply Last reply Nov 24, 2017, 12:52 PM Reply Quote 0
    • G
      george1421 Moderator @Lebowski
      last edited by Nov 24, 2017, 12:52 PM

      @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.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post

      202

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project