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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to free up disk space? Docker-volumes

How to free up disk space? Docker-volumes

Scheduled Pinned Locked Moved Solved Support
3 Posts 3 Posters 725 Views 2 Watching
  • 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.
  • K Offline
    K Offline
    k2300455
    wrote on last edited by
    #1

    Hi,

    My docker-volumes, /var/lib/docker is taking up 57 GB (server only has 60GB) and now it's causing the app problems to start.

    Is it safe to remove some of the docker images or data in the docker-volumes? It seems rather high to take up 57GB. I am only running one app, Freescout, and it was not used too much.

    Thanks,

    1 Reply Last reply
    1
    • KubernetesK Offline
      KubernetesK Offline
      Kubernetes
      App Dev
      wrote on last edited by Kubernetes
      #2

      I had the same question some time ago and it turned out that it would be safe to use docker system prune. However Cloudron is usually automatically removing unused images.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        makemrproper
        wrote on last edited by makemrproper
        #3

        You need to remove some log files and also unused kernels

        apt-get remove `dpkg --list 'linux-image*' |grep ^ii | awk '{print $2}'\ | grep -v \`uname -r\``
        

        source: https://docs.cloudron.io/troubleshooting/

        and:
        Use ncdu to browse every container
        My results:
        Gained 1gb of storage by deleting /usr/local/share/.cache/yarn/ on a container volume
        Gained 500mb of storage by deleting Anaconda distribution package cache within a container volume

        source: https://forum.cloudron.io/topic/4604/disk-space-should-never-bring-a-whole-server-down/46?_=1708028984619

        Cloudron fan
        Paying Customer

        1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        • S SolarSimon referenced this topic on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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