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

  • Edited once, last by Koxx ().


  • 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
    1. # 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 ().

  • 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 ().

  • Would be great if it worked though. I'd love to get some s905's with Kali installed, and use them as stealthy pentest devices.

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


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

    Code
    1. LibreELEC:~/.config/system.d # keyctl session
    2. 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 ().

  • Yes, I'm backporting commits to my Jarivs builds. If everything with the changes applied to beta3 is OK, I will upload 7.0.3.012d.

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

    Edited once, last by Koxx ().


  • 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]

  • Stupid question but..what can I do with docker?

    Beelink MiniMXIII II 2GB, 32GB always running latest Libreelec from SD card. No issues so far(except for the ones already known or posted by me).

    Mecool m8s Pro+ which with widevine level 1, Android runs a hacked version of android TV.

  • 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 ;)


  • 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 ().