docker on Amlogic builds

  • hummm ... all docker containers are not able to start.
    at first, I though it was because of wrong architecture, but this docker image runs on Odroid C2 (s905)

    but I found arch64 images ... same result :

    Code
    LibreELEC:~/.kodi/addons/service.downloadmanager.transmission/bin # docker run aarch64/hello-world
    Unable to find image 'aarch64/hello-world:latest' locally
    latest: Pulling from aarch64/hello-world
    6d8815192f66: Pull complete
    Digest: sha256:70f9c42c15bfe977ec34c05eecf72ecb9c107d01857c423a207e360b3305ede6
    Status: Downloaded newer image for aarch64/hello-world:latest
    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".


    [hr]
    logs :


    [hr]
    it seems to be something missing in the kernel :
    Unable to deploy a service in swarm mode due to "oci runtime error: could not create session key: function not implemented" · Issue #24578 · moby/moby · GitHub

    Edited once, last by Koxx (January 12, 2017 at 5:22 PM).

  • Edited once, last by Koxx (January 13, 2017 at 6:00 PM).


  • 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".

    I'm a big fan of docker containers, but in this specific case... consider use a plugin instead of the overhead of a container.

    GitHub - thoradia/thoradia: Add-ons for LibreELEC
    LibreELEC

  • Thanks. In fact I also use Thoradia add-ons. But just want to try docker on amlogic hoping to make use of other services like Plex, and etc.

    Ps. LinuxServer.io repository still not pushed into amlogic S905's Libreelec repository. On raspberry pi LE, it did.

    Sent from my X900+ using Tapatalk

    Edited once, last by pawnthep (January 13, 2017 at 3:12 PM).

  • same for me, I use addons if possible, but there is many other thing I'd like to do with docker ;)
    [hr]


    Thanks. In fact I also use Thoradia add-ons. But just want to try docker on amlogic hoping to make use of other services like Plex, and etc.

    Ps. LinuxServer.io repository still not pushed into amlogic S905's Libreelec repository. On raspberry pi LE, it did.

    Sent from my X900+ using Tapatalk

    are you sure ? I can see aarch64 containers :
    Linuxserver.io docker list of justice
    thelounge-aarch64

    Edited once, last by Koxx (January 13, 2017 at 5:55 PM).

  • I also tried "LibreELEC-S905.arm-8.0-7.90.beta1.img" , same result.

    Not exactly because "keyctl" command is available... but :

    Code
    LibreELEC:~/.config/system.d # keyctl session
    keyctl_join_session_keyring: Function not implemented

    and this feature seems requires by docker.
    [hr]
    if I compare odroird c2 kernel (which support docker) and libreelec kernel, it seems 3 files have been modified :
    gc.c
    key.c
    ketctl.c

    Edited once, last by Koxx (January 13, 2017 at 8:39 PM).

  • great ! thank you very much !!!
    [hr]
    youhou !!!!

    Edited once, last by Koxx (January 20, 2017 at 7:41 PM).


  • great ! thank you very much !!!
    [hr]
    youhou !!!!

    While you're at it, can you try the docker wrapper addons from the linuxserver repo? I didn't get to test them on s905/x devices yet.

    You can find it under libreelec repo / repositories / linuxserver repo. Once you install that, you'll see a bunch of addons that set up docker containers.

    Thanks in advance [emoji1]


  • aptalca, sorry but I am really starting with docker, and I don't know how to do such thing.

    Gregoir3, it's like virtual mahcines, but lighter .. so, the answer is : pretty much everything ;)


    All you need to do is, in the LE gui, go to addons, install from repo, select the libreelec repo, go to repositories and install the linuxserver repo. After that in addons, go to install from repo, select linuxserver repo and install any addon you like. They all create and manage docker containers that run in the background. Portainer is one of them.

    Once you install portainer, it puts up a webpage at port 9000 so from any computer on your network, you can browse to your LE ip and port 9000 and portainer's gui will let you manage containers very easily.

    Edited once, last by aptalca (January 21, 2017 at 5:09 AM).