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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Docker Images Taking huge space

Scheduled Pinned Locked Moved Solved Support
dockerdisk space
5 Posts 3 Posters 439 Views
    • 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.
  • G Offline
    G Offline
    ghaisasadvait
    wrote on last edited by girish
    #1

    Docker Images Taking huge space. I only have 3 apps installed. Is there any solution to clear the docker images?

    b5c04928-c339-413e-80f3-950ff9112472-image.png

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to ghaisasadvait on last edited by
    #2

    @ghaisasadvait you can run docker image prune -a to cleanup unused images. Usually, this is automatic though.

    I suspect it's taking a bit of space because we are in the middle of moving all the docker images to a newer base image - https://forum.cloudron.io/topic/6178/new-base-image-3-2-0-was-3-1-0. Since, we have over 100 apps, it will take a bit to "transition" all of them, but over 60 apps are already moved. With 7.1 (https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1) , the whole platform will also move to the new image. Until, then it will take up ~3GB or so more than usual.

    ei8fdbE 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #3

    Just wanted to add that the size won't grow much more from now as you install more apps.

    1 Reply Last reply
    0
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to girish on last edited by ei8fdb
    #4

    @ghaisasadvait you can run docker image prune -a to cleanup unused images. Usually, this is automatic though.

    bcde2ae3-b8c6-4eb6-84bc-ebb02d7c0318-image.png

    @girish Thanks for suggesting the prune -a command. Before issuing it disk space usage was 29.49GB. It shrunk disk usage by ~ 7GB.

    Here's my docker image usage after issuing prune -a. I'm guessing I won't see that reclaimed disk space in the system UI as the docker images weren't being used by any container?

    Scratch that: it took a few hours for the reclaimed disk space to show up.

    girishG 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to ei8fdb on last edited by girish
    #5

    @ei8fdb right the graphs don't update immediately, but every 6 hours or so. Otherwise, the disk spins a lot 🙂

    I will mark this thread as solved, but this problem will go away soonish. I think only ~20 apps are left to use the new base image. The 7.1 release also updates all the internal containers to use the latest image. Should all be done end of this month.

    1 Reply Last reply
    1
  • P p44 referenced this topic on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.