Celedhrim / docker-kodi-server

Runs Kodi in headless mode with docker
MIT License
79 stars 20 forks source link

docker usage/size - sanity check #17

Closed thezoggy closed 4 years ago

thezoggy commented 4 years ago

not sure if this is normal sizes, after 24 hours: ~ confirmed no runaway log file in the docker

docker images

# docker images
REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
celedhrim/kodi-server       leia                41ba4699498c        7 weeks ago         648MB

docker stats

CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
feca3fdc6b9c        kodi-server         2.65%               778.1MiB / 3.739GiB   20.32%              468MB / 8.18MB      694MB / 86.2MB      35

actually looks like the size is normal per:

docker history  celedhrim/kodi-server:leia 
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
41ba4699498c        7 weeks ago         /bin/sh -c #(nop)  ENTRYPOINT ["/bin/kodi-ru…   0B                  
<missing>           7 weeks ago         /bin/sh -c #(nop)  EXPOSE 8089/tcp 9090/tcp …   0B                  
<missing>           7 weeks ago         /bin/sh -c apt-get update &&     apt-get ins…   583MB               
<missing>           7 weeks ago         /bin/sh -c #(nop) ADD file:5e71211e48456c10c…   199B                
<missing>           7 weeks ago         /bin/sh -c #(nop)  ENV DEBIAN_FRONTEND=nonin…   0B                  
<missing>           7 weeks ago         /bin/sh -c #(nop)  MAINTAINER celedhrim "cel…   0B                  
<missing>           2 months ago        /bin/sh -c #(nop)  CMD ["/bin/bash"]            0B                  
<missing>           2 months ago        /bin/sh -c mkdir -p /run/systemd && echo 'do…   7B                  
<missing>           2 months ago        /bin/sh -c set -xe   && echo '#!/bin/sh' > /…   745B                
<missing>           2 months ago        /bin/sh -c [ -z "$(apt-get indextargets)" ]     987kB               
<missing>           2 months ago        /bin/sh -c #(nop) ADD file:a48a5dc1b9dbfc632…   63.2MB 
Celedhrim commented 4 years ago

Docker image shoud not change.

images are not container.

Mine runs for 2 months and image take 648 Mo

thezoggy commented 4 years ago

I've been checking each day and yeah its not growing. I think I was just initially comparing it against the kodi-headless container which is a bit smaller and got confused at one point. All has been good. I see ram creep a little bit but nothing a restart wouldnt just take care of. (I just have 4G ram at the moment.. about to redo the box with 64G so I'll be much better off)