Posts by joop

    I have some docker containers interacting with each other. Saw often 'docker-proxy' using a lot of CPU. After disabling, not only the process is gone, also other processes are more smooth. including kodi.bin!

    Curious about others experience. Mileage may vary.


    Edit this file:

    Code
    /storage/.kodi/userdata/addon_data/service.system.docker/config/docker.conf

    and add '--userland-proxy=false'.

    Code
    DOCKER_DAEMON_OPTS="--data-root=/storage/.kodi/userdata/addon_data/service.system.docker/docker --userland-proxy=false"
    DOCKER_STORAGE_OPTS="--storage-driver=overlay2 --storage-opt overlay2.override_kernel_check=1"

    zarusz or anyone finding this through search engine. I bought a Seagate HDD which needs sdparm. With the above, I managed to optimise to one command:

    Code
    docker run --rm --privileged --device=/dev/sda:/dev/sda arm64v8/debian /bin/bash -xec 'apt-get update && apt-get install sdparm -y && sdparm --flexible -6 -l --save --set STANDBY=1 /dev/sda && sdparm --flexible -6 -v -S -p po --set=SCT=9000 /dev/sda'