Jump to content

high docker image utilization


wgstarks

Recommended Posts

I keep getting notifications regarding high docker image utilization which typically clear after a couple of hours. I'm finally able to troubleshoot this. It looks like it may be related to my Plex docker.

 

root@Brunnhilde:~# docker system df -v
Images space usage:

REPOSITORY                                     TAG                         IMAGE ID       CREATED        SIZE      SHARED SIZE   UNIQUE SIZE   CONTAINERS
linuxserver/jackett                            latest                      645a31d14b65   3 days ago     246.6MB   0B            246.6MB       1
linuxserver/plex                               latest                      a112ed843acc   4 days ago     631.4MB   129.6MB       501.8MB       1
haveagitgat/tdarr_node                         latest                      2ff1e9c087dd   6 days ago     1.527GB   129.6MB       1.398GB       1
haveagitgat/tdarr                              latest                      9fb146fe18ab   6 days ago     2.205GB   129.6MB       2.076GB       1
linuxserver/mariadb                            latest                      c97c23209ce1   8 days ago     291.7MB   0B            291.7MB       1
blakeblackshear/frigate                        stable-amd64nvidia          259c00c58055   8 days ago     3.178GB   0B            3.178GB       1
binhex/arch-qbittorrentvpn                     latest                      17bb40341270   11 days ago    1.366GB   567.8MB       797.8MB       1
linuxserver/tautulli                           latest                      ced4fc4d320c   2 weeks ago    123.8MB   0B            123.8MB       1
binhex/arch-prowlarr                           latest                      7fb59a3c20d1   2 weeks ago    869MB     567.8MB       301.2MB       1
vabene1111/recipes                             latest                      b8d0139ee2b0   2 weeks ago    352.3MB   0B            352.3MB       1
flaresolverr/flaresolverr                      latest                      f3b0f312d2a3   3 weeks ago    413.8MB   5.581MB       408.3MB       1
binhex/arch-radarr                             latest                      c0aaab2e77ae   3 weeks ago    809MB     567.8MB       241.2MB       1
binhex/arch-sonarr                             latest                      b78d74410d70   4 weeks ago    1.129GB   567.8MB       560.8MB       1
jkirkcaldy/plex-utills                         latest                      d468c0a346f9   7 weeks ago    1.324GB   0B            1.324GB       1
spaceinvaderone/log4j-scan                     latest                      34385be6e574   2 months ago   266MB     5.581MB       260.4MB       1
golift/unpackerr                               latest                      e728f79c5d0d   2 months ago   5.04MB    0B            5.04MB        1
linuxserver/unifi-controller                   6.5.55-ls136                118d778f16a7   2 months ago   750.4MB   0B            750.4MB       1
spaceinvaderone/log4shell-testing-vulnerable   latest                      bc6b65772f29   2 months ago   121.3MB   0B            121.3MB       1
binhex/arch-preclear                           latest                      b185a7844d8f   7 months ago   1.285GB   0B            1.285GB       1
jbartlett777/diskspeed                         latest                      8a6e961e990e   8 months ago   1.233GB   0B            1.233GB       1
binhex/arch-delugevpn                          1.3.15_18_ge050905b2-1-04   e3ccc8ae7053   2 years ago    1.409GB   0B            1.409GB       1

Containers space usage:

CONTAINER ID   IMAGE                                             COMMAND                  LOCAL VOLUMES   SIZE      CREATED        STATUS                      NAMES
40aea1a1f40e   haveagitgat/tdarr                                 "/init"                  0               1.25GB    38 hours ago   Up 9 hours                  tdarr
20bcc5b061cf   haveagitgat/tdarr_node                            "/init"                  0               407MB     44 hours ago   Exited (0) 38 hours ago     tdarr_node
9c34b2cfda03   linuxserver/jackett                               "/init"                  0               107MB     2 days ago     Up 9 hours                  jackett
d03dcdca1de2   linuxserver/plex                                  "/init"                  4               6.91GB    2 days ago     Up 9 hours                  PlexMediaServer
36c6ba75d7bf   linuxserver/mariadb                               "/init"                  0               16.5kB    5 days ago     Up 9 hours                  mariadb
9cf59f1fc22b   blakeblackshear/frigate:stable-amd64nvidia        "/init python3 -u -m…"   0               745kB     7 days ago     Up 9 hours                  frigate-nvidia
488bbeb09d30   binhex/arch-radarr                                "/usr/bin/tini -g --…"   0               268MB     8 days ago     Up 9 hours                  binhex-radarr
b87d49e16505   binhex/arch-qbittorrentvpn                        "/usr/bin/tini -g --…"   0               1.04MB    8 days ago     Up 9 hours                  binhex-qbittorrentvpn
20eb05420255   linuxserver/tautulli                              "/init"                  0               37.1MB    10 days ago    Up 9 hours                  tautulli
da976340e593   vabene1111/recipes                                "/opt/recipes/boot.sh"   0               75.6MB    2 weeks ago    Up 9 hours                  TandoorRecipes
c08f2aef9b9b   binhex/arch-prowlarr                              "/usr/bin/tini -g --…"   0               234MB     2 weeks ago    Up 9 hours                  binhex-prowlarr
8196a1b6b0f1   flaresolverr/flaresolverr                         "/usr/bin/dumb-init …"   0               2.83kB    2 weeks ago    Up 9 hours                  flaresolverr
eb592634378a   binhex/arch-sonarr:latest                         "/usr/bin/tini -g --…"   0               63.4MB    4 weeks ago    Up 9 hours                  binhex-sonarr
d107ad202e4f   spaceinvaderone/log4j-scan:latest                 "python log4j-scan.p…"   0               8.32kB    4 weeks ago    Exited (0) 4 weeks ago      log4jscan
5091e723ada8   spaceinvaderone/log4shell-testing-vulnerable      "java -jar /app/spri…"   0               36.6kB    4 weeks ago    Up 9 hours                  log4j-testing-vulnerable
4cef3af3a3d0   jkirkcaldy/plex-utills                            "/app/entrypoint.sh …"   0               306kB     5 weeks ago    Exited (137) 3 weeks ago    plex-utills
d1fb82823967   golift/unpackerr                                  "/image"                 0               56.8MB    8 weeks ago    Up 9 hours                  unpackerr
12ef73c0d7f1   linuxserver/unifi-controller:6.5.55-ls136         "/init"                  0               229MB     2 months ago   Up 9 hours                  unifi
ba3245faa054   binhex/arch-preclear                              "/usr/bin/tini -g --…"   1               23.4MB    3 months ago   Exited (137) 2 months ago   binhex-preclear
34400c498fe6   binhex/arch-delugevpn:1.3.15_18_ge050905b2-1-04   "/usr/bin/tini -- /b…"   0               0B        6 months ago   Created                     binhex-delugevpn
d50060845eeb   jbartlett777/diskspeed                            "catalina.sh run"        0               624kB     8 months ago   Exited (143) 2 months ago   DiskSpeed

 

This shows that Plex is taking the most space by far (6.91GB) but I don't see any paths not mapped to a physical location.

 

docker run-

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='host' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'VERSION'='public' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-b4602330-5b21-6f5e-bbc1-1107747562ec' -e 'PUID'='99' -e 'PGID'='100' -e 'TCP_PORT_32400'='32400' -e 'TCP_PORT_3005'='3005' -e 'TCP_PORT_8324'='8324' -e 'TCP_PORT_32469'='32469' -e 'UDP_PORT_1900'='1900' -e 'UDP_PORT_32410'='32410' -e 'UDP_PORT_32412'='32412' -e 'UDP_PORT_32413'='32413' -e 'UDP_PORT_32414'='32414' -e '100'='100' -v '/mnt/user/Media/XBMC/TV Shows/':'/Plex_TV':'ro' -v '/mnt/user/Media/XBMC/Torrents/':'/Plex_Movies_Torrents':'ro' -v '/mnt/user/Media/XBMC/TVTorrents/':'/Plex_TV_Torrents':'ro' -v '/mnt/user/Media/XBMC/DVR/PlexTV_DVR/':'/Plex_DVR':'rw,slave' -v '':'/transcode':'rw' -v '':'/movies':'rw' -v '':'/tv':'rw' -v '':'/music':'rw' -v '/mnt/user/Plex_DVR/':'/plex-dvr':'rw,slave' -v '/mnt/user/Media/XBMC/DVR/PlexMovie_DVR/':'/PlexMovie_DVR':'rw,slave' -v '/mnt/user/appdata/plexmediaserver/':'/config':'rw' --runtime=nvidia 'linuxserver/plex' 
71622f45a0de0a811de7976f4d6edbf521f9eb68aa1f9a2f2f781b59eb221e50

The command finished successfully!

 

Not sure what to check next?

Link to comment

Most likely it's the Plex transcode directory.  One of Plex's quirks / bugs / "features" is that it doesn't delete it's temporary transcode files until playback stops or it actually runs out of space.

 

Basically if you're watching a movie, then the transcoding stays in place taking up space.  Map /transcode to a folder outside of the image and make sure that Plex's settings say to use /transcode

 

(I'm not a fan of transcoding to RAM because then you're taking away ram from the system that may impact the rest of your processes, unless you've got gobs and gobs of ram to spare)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...