Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Dockerimage size for Cloudron

    Discuss
    3
    4
    79
    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.
    • jaschaezra
      jaschaezra last edited by

      Hello,

      I am packaging littlelink-custom at the moment.

      I am just wondering but what the hell is in the cloudron base image? I mean:

      git.jascha.wtf/jascha/littlelink-custom-cloudron   latest    8fd0c2993bf4   44 minutes ago   2.3GB
      

      versus the container from LittleLink with an alpine in it:

      julianprieber/littlelink-custom                    latest    d043112244dc   32 hours ago     316MB
      

      So what is in the base image that is needed every time and takes so much space?

      Thanks for letting me know. I just want to understand why I use so much hard disc space.

      robi 1 Reply Last reply Reply Quote 1
      • robi
        robi @jaschaezra last edited by

        @jaschaezra It's a common base image which almost all apps use, so it actually uses less overall.

        Life of Advanced Technology

        jaschaezra 1 Reply Last reply Reply Quote 1
        • jaschaezra
          jaschaezra @robi last edited by

          But does it need to be Debian? All what is installed runs on alpine as well saving space.

          I am not sure if shipping one bloated server for everything is the best thing. But this is just me. 🤷

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by girish

            You can see what is installed in the base image here - https://git.cloudron.io/cloudron/docker-base-image/

            Many of the docs/tools like file manager, terminal etc rely on the base image. For example, tar/zip availability. Ultimately, the images are optimized for developer and support time and not disk size. If there is a problem in an app, you want your tools there to be able to debug quickly. The base image is shared across all apps and services (databases), so it's a one time cost. I remember the last time I used an alpine image, it didn't even have ping to debug.

            On a side note, you might see a little more docker image use right now because we are migrating all apps to a newer base image which is based on jammy - https://forum.cloudron.io/topic/8130/docker-base-image-4-0

            1 Reply Last reply Reply Quote 3
            • First post
              Last post
            Powered by NodeBB