docker on Amlogic builds

  • Hi!

    Since 7.0 Beta 1 Docker is not available for AmLogic

    The Docker add-on is not available for WeTeK Play/Core which use an older (too old) Linux kernel.

    LibreELEC (Jarvis) v7.0 BETA1 – LibreELEC

    What is needed exactly to get back the Docker addon?
    It just a minor back-port that must be adapted to the AmLogic Kernels or is something more complicated?
    All the AmLogic builds (Odroid C2/S805/S905) are affected?


  • kernel is too old, need at least kernel 3.18 implementation of overlayfs to be used with our docker add-on.

    So is "just" back-port the overlayfs?

    The code is available at
    kernel/git/mszeredi/vfs.git - VFS stuff

    There is some work done at
    GitHub - adilinden/overlayfs-patches: Created patches from the overlayfs git repo at http://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git/

    The same procedure can be used to patch the kernel 3.14.x?

  • Ouch!

    In any case, looks like the overlayfs is already added on hardkernel Odriod C2 kernel.

    There a discussion about Volumio 2 and the back-port at:
    ODROID Forum • View topic - Volumio 2

    The specific commit with the kernel changes are at:
    fs/overlayfs: add overlayfs support · hardkernel/linux@11e207c · GitHub

  • Sorry if I'm mistaken. But how can I use these containers when there is no docker service to install on s905 Krypton repo, or is there?


    Sent from my X900+ using Tapatalk

    Edited once, last by pawnthep (December 27, 2016 at 7:50 AM).

  • Hi,
    I am using "LibreELEC-S905.arm-7.0.3.012a.img".
    I installed docker from addons.
    With SSH :

    Code
    LibreELEC:~ # cd /storage/.kodi/addons/service.system.docker/bin
    LibreELEC:~/.kodi/addons/service.system.docker/bin #
    LibreELEC:~/.kodi/addons/service.system.docker/bin # docker pull libreelecarm/transmission
    Using default tag: latest
    Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/
    Cannot connect to the Docker daemon. Is the docker daemon running on this host?

    why doesn't it work ?
    [hr]
    lol ... I think I missed the " Krypton " word ;)
    trying with LE 8
    [hr]
    crap ... I tried with "LibreELEC-S905.arm-8.0-devel-20161223194610-r25062-g308adcf.img"
    same thing :(

    Edited once, last by Koxx (January 11, 2017 at 6:06 PM).

  • exactly, cgroup kernel options ;)

    Edited once, last by Koxx (January 12, 2017 at 7:42 AM).

  • Just installed 7.0.3.012c to try with docker service.

    I can do "docker pull libreelecarm/transmission" successfully but how to enable/start transmission?

    Code
    # docker run libreelecarm/transmission container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"could not create session key: function not implemented\"" docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"could not create session key: function not implemented\\\"\"\n".

    Edited once, last by pawnthep (January 12, 2017 at 8:49 AM).