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

    Official Docker Image

    Scheduled Pinned Locked Moved Feature Request
    11 Posts 7 Posters 9.7k Views
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @askingthisonething As soon as at least one person (better two) opt in to maintain the docker image we are ready to go.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 2
      • D
        dimoura
        last edited by

        Friends… I also tested several images on dockhub but I wasn’t successful… I look forward to it and hope that they develop an official image for docker… It would make deployment a lot easier…

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @dimoura At the risk of repeating myself, someone needs to make a commitment to maintain the docker image. This is not going to happen if everyone keeps asking for others to do it.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • A
            austinalex23
            last edited by

            Popping in to say that I recently created a request on the linuxserver.io forum for the creation of a Fog container. I updated that request with a link to this post in an effort to encourage a followup.

            A 1 Reply Last reply Reply Quote 0
            • A
              austinalex23 @austinalex23
              last edited by

              I did just find an image that works. (It works meaning I’m able to access the FOG interface. It’s outdated but it’s there).

              I used the following docker compose:

              version: '3.4'
              
              services:
                fogserver:
                  image: mudislander/fogproject:latest
                  container_name: fogproject
                  environment:
                    IP: 192.168.1.225
                    WEBSERVER_HTTP_PORT: 80
                    APACHE_ROOT_REDIRECTION: "<OPTIONAL_URL>"
                  ports:
                    - 80:80/tcp
                    - 69:69/tcp
                    - 69:69/udp
                    - 21:21/tcp
              #      - 443:443/tcp
                    - 9000:9000/tcp
                  restart: always
                  volumes:
                    - <PATH_TO_LOCAL_IMAGES_FOLDER>:/images
                    - <PATH_TO_LOCAL_MYSQL_DATA_FOLDER>:/var/lib/mysql
              
              
              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @austinalex23
                last edited by

                @austinalex23 said in Official Docker Image:

                ports:
                  - 80:80/tcp
                  - 69:69/tcp
                  - 69:69/udp
                  - 21:21/tcp
                  - 443:443/tcp
                  - 9000:9000/tcp
                

                You will need additional ports in the mix for NFS. Out of the box FOG uses NFS v3 which is a port nightmare. If you configure the fog server to use NFS v4 then you can get away with ports 111 and 2049 for NFS parts of imaging.

                This next bit is going to show my ignorance of docker, but how does a docker image help you with FOG? You are basically port forwarding the physical ports to the docker internal ports, in that you can’t use those ports for other apps that might run on that docker server. What value does this indirection give you over just a physical or virtual server? To me it looks just like extra overhead.

                Where I can see value in docker if you were running multiple CMS systems where you put a reverse proxy in front of the docker containers so you can switch which container gets the port 80 traffic based on the fqdn host name. I can see other uses, but related to FOG Imaging.

                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 0
                • A
                  austinalex23 @askingthisonething
                  last edited by

                  @askingthisonething For me it’s mostly a convenience thing. I’m already running a Debian VM with half a dozen Docker container services, so being able to spin up FOG in the same place where I can manage it with the same interface as everything else would be preferable. The ports aren’t an issue because you have the ability to map the ports the container uses internally to whatever ports you want on the host.

                  In a world where an official Docker image existed and was maintained, it would also be a lot faster and easier for people to create a FOG instance in their environment, in that all they would need to do is run a Docker run command or deploy a Docker compose file to get it up as opposed to setting up a new VM and then going through the installation script. Updating would also be as simple as pulling the latest image from Dockerhub rather than downloading the newest install script and running it again (which can be automated so you don’t even notice).

                  1 Reply Last reply Reply Quote 1
                  • T
                    TopHatProductions115
                    last edited by

                    I’m a Docker/Compose newb myself, but I’m willing to help with testing. Maybe even container image creation if necessary. I’ve never made a container image before. Perhaps this would be a good time for me to pick up a new skill?

                    1 Reply Last reply Reply Quote 0
                    • R ramone referenced this topic on
                    • 8
                      88fingerslukee
                      last edited by

                      please check my post here

                      https://forums.fogproject.org/topic/18000/unofficial-docker-image-beta

                      8 1 Reply Last reply Reply Quote 0
                      • 8
                        88fingerslukee @88fingerslukee
                        last edited by 88fingerslukee

                        Not sure if anybody has actually had a chance to look at my docker image yet. I’m throwing my hat in the ring for maintaining an official image, but I’d need some help with it.

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

                        187

                        Online

                        12.3k

                        Users

                        17.4k

                        Topics

                        155.7k

                        Posts
                        Copyright © 2012-2025 FOG Project