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

    Official Docker Container

    Scheduled Pinned Locked Moved
    Feature Request
    4
    13
    5.8k
    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
      LogicEthos
      last edited by LogicEthos

      Thanks.

      I have made progress. I have FOG 1.3.0 running in a container. It was not easy. The main problem was around mysql, and passwords. I started to document it, but found myself travelling in many circles. I’m not entirely sure how I ended up getting it to work. But I will start again from scratch later.

      I can PXE boot, but the clients say:

      Cannot find disk on system (getHardDisk)
      

      A compatibility test says:

      Network [Pass]
      Disk [Fail]
      
      Try using a newer kernel. Fog Configuration -> Kernel Update
      

      If I do that, I get:

      Error: Failed to connect to server
      

      FTP is working fine. I checked passwords. Tested, using the wiki guide.
      What server is it failing to connect to? FTP logs don’t show anything.

      Wayne WorkmanW x23piracyX 2 Replies Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @LogicEthos
        last edited by

        @LogicEthos You should already be using the latest kernel since you installed days ago. The installer pulls the latest fog kernel from fogproject.org every time it runs.

        What boot file are you using for dhcp option 067 ? Try using undionly.kkpxe note the extra k.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        L 1 Reply Last reply Reply Quote 0
        • L
          LogicEthos @Wayne Workman
          last edited by

          @Wayne-Workman working now thanks. I didn’t have a disk drive on my client. I didn’t think is was necessary to register with the host.

          I was hoping to run a diskless Linux ISO.

          Tom ElliottT x23piracyX 2 Replies Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @LogicEthos
            last edited by

            @LogicEthos Why would a diskless host need to be registered in fog?

            While it certain “can” be done, it would need to be done manually. The checking fog is going through in the init’s is to determine if FOG can image the device as this, primarly, is what the init’s are designed for.

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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

            L 1 Reply Last reply Reply Quote 1
            • x23piracyX
              x23piracy @LogicEthos
              last edited by x23piracy

              @LogicEthos said in Official Docker Container:

              @Wayne-Workman working now thanks. I didn’t have a disk drive on my client. I didn’t think is was necessary to register with the host.

              I was hoping to run a diskless Linux ISO.

              Hi, is your fog docker project available for the public? I’ve just started today with docker and i am acutally on reading howto use docker 🙂
              Idea, can we may work together on a fog docker container?

              Regards X23

              ║▌║█║▌│║▌║▌█

              L 1 Reply Last reply Reply Quote 1
              • x23piracyX
                x23piracy @LogicEthos
                last edited by x23piracy

                @LogicEthos said in Official Docker Container:

                Thanks.

                I have made progress. I have FOG 1.3.0 running in a container. It was not easy. The main problem was around mysql, and passwords.

                Hi,

                how did you manage the MySQL Problems in the Docker container, i am actually trying to setup fog in a docker ubuntu 16 and it seems that i am experiencing the same problems then you:

                alt text

                error log:

                alt text

                ║▌║█║▌│║▌║▌█

                1 Reply Last reply Reply Quote 0
                • x23piracyX
                  x23piracy
                  last edited by x23piracy

                  Hi,

                  if someone is interested i could set this repo to public and interested guys could contribute

                  alt text

                  Let me know if someone is interested, the repo is empty yet.

                  ║▌║█║▌│║▌║▌█

                  1 Reply Last reply Reply Quote 0
                  • L
                    LogicEthos @Tom Elliott
                    last edited by

                    @Tom-Elliott I thought that a diskless client, would register with Fog, so that you could decide which image to send it in the future.

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @LogicEthos
                      last edited by

                      @LogicEthos Registering the system isn’t the problem, but doing so from the init’s is. The init’s aren’t intended to “BE the OS” they’re designed mostly to do stuff with your system disk (or disks). So with this In mind we have checks that ensure that the system is compatible with FOG so fog can use the system as it is intended. A diskless system isn’t capable of uploading, or receiving an image, and because of this the Inits have little bounds to that system. Manually registering should work fine though.

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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
                      • L
                        LogicEthos @x23piracy
                        last edited by

                        @x23piracy yes, I had the exact same problem with mysql passwords. How I fixed it? I don’t know exactly. I went round in so many circles, I stopped taking notes. Then it worked.

                        I kept resetting the mysql password at every step if the way. I didn’t use a blank password. Hope that helps.

                        I was hoping to get to the stage, where I could script the whole build process, and then make that public.

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

                        217

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project