Docker install on FWG

Comments

2 comments

  • Avatar
    Michael Bierman

    I have read the knowledgebase articles and even did successful trial installation of Homebridge on a FWG but eventually reverted it. While the functionally perfect, what led to uninstall were some dire warnings on some forums including Firewalla's own that too many and incorrectly managed docker containers could eat into limited diskspace on FWG.

    FWG is usually fine running dockers. I have never had an issue. I have run homebridge on it for years and I have sometimes run unifi controller at the same time. The only thing you need to be careful of is pruning containers when you upgrade. For Homebridge I have an installer for homebridge: 
    github.com/mbierman/homebridge-installer

    that makes installation super easy and an updater which will update and prune the containers afterwardgist.github.com/mbierman/6cf22430ca0c2ddb699ac8780ef281ef

    FWP I am a little more cautious about running larger docker containers due to system limitations, but homebridge should be fine there too. 

    While I tried my best to find references to how docker container logs are managed, I came up short. So my question is, does automatic log management (rotate, truncate etc.) already exist on FWG or do I need to manage it? If I do need to manage it, how would I do it automatically i.e. cron job etc. and what are the different log locations?

    I have never had any issue, but you can use docker to manage the max log size per container. https://docs.docker.com/config/containers/logging/local
    https://stackoverflow.com/questions/42510002/docker-how-to-clear-the-logs-properly-for-a-docker-container

    0
    Comment actions Permalink
  • Avatar
    Hiranmoy Mishra

    Thanks so much, Michael. Really appreciate your thorough response!

    0
    Comment actions Permalink

Please sign in to leave a comment.