Jump to content

forrestab

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by forrestab

  1. On 11/20/2017 at 9:59 PM, d8sychain said:

    Read through this whole thread. Have the same issue of the docker.img file becoming bloated / full. I used this, but moved up one directory and found a 12G .log file

    
    find /var/lib/docker/ -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
    /var/lib/docker/containers/60d8cc72b42ba65bd7d32d60f4da671268293777ea5e67027c2b630eec2dd041/60d8cc72b42ba65bd7d32d60f4da671268293777ea5e67027c2b630eec2dd041-json.log: 91M
    /var/lib/docker/containers/2d0c7fff7cc76740fb7a49b94fb97441fc8dd51d5723532b290d38bbef979d3c/2d0c7fff7cc76740fb7a49b94fb97441fc8dd51d5723532b290d38bbef979d3c-json.log: 12G
    /var/lib/docker/btrfs/subvolumes/4d7990cb80ec57c6e13325308389eafb1f783097818aa2c855f8684045cb0ec1/tmp/x11rdp/x11rdp_0.9.0+devel-1_amd64.deb: 66M
    /var/lib/docker/btrfs/subvolumes/f26230f4f65eafdf3ec5ed86ce1c344d460fe592340c92f95c0d2868b89b7537/var/cache/locate/locatedb: 65M

    After deleting the 12G file, I checked the webui and it still showed 94%. Disabled and re-enabled Docker and jumped back down to 36%. I don't know container created this file as I don't see any IDs that match it. Either way, it's much better (for now) than starting over with my docker.img and then having to re-add all of my 15+ containers

     

    Thanks for this, I was able to find out that my resilio-sync container log was 13G.

     

    I have the log rotation config setup through unraid for docker, does anyone know if it handles the *-json.log files or is it for some other log files?

×
×
  • Create New...