Docker - Installed and not running

  • Hi,

    Device RK3188, I successfully installed "Armbian_22.02.0-trunk_Rk3188_bullseye_current_5.10.96.img", OMV6, and OMV-Extras.

    But I can't install Docker in OMV-Extras. Always the same message: Installed and not running

    Also I try with "Armbian_21.08.0-trunk_Rk3188_buster_current_5.10.52.img" and OMV5 but the same problem... Installed and not running


    This is the log on installing Docker via OMV-Extras:

    Log with systemctl status docker.service:

    Code
    docker.service - Docker Application Container Engine
         Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset>
        Drop-In: /etc/systemd/system/docker.service.d
                 └─waitAllMounts.conf
         Active: failed (Result: exit-code) since Tue 2023-02-07 21:12:09 UTC; 2min>
    TriggeredBy: ● docker.socket
           Docs: https://docs.docker.com
        Process: 5503 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/contain>
       Main PID: 5503 (code=exited, status=1/FAILURE)
            CPU: 932ms

    Log with journalctl -xe

    Any idea/solution?


    Thank you

    • Official Post

    What have you done to try and fix?

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I try everything that I found on internet and on this forum. Nothing help...

    Also I try Buster img with OMV5 and Bullseye img with OMV6

    omv-extras fully updated before installing docker.

    Uninstall, reinstall through omv-extras, also uninstall, and install through code.


    Code
    sudo apt install docker-ce-cli=5:20.10.23~3-0~debian-bullseye
    sudo apt install docker-ce=5:20.10.23~3-0~debian-bullseye
    sudo service docker restart

    I try older versions of docker.

    Code
    apt-cache madison docker-ce
    sudo apt-get install -y docker-ce={ insert the docker version from the list }

    Try set iptables:

    Code
    update-alternatives --set iptables /usr/sbin/iptables-legacy
    update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
    update-alternatives --set arptables /usr/sbin/arptables-legacy
    update-alternatives --set ebtables /usr/sbin/ebtables-legacy

    I try everything that I can... I'm new with Linux systems.

    I just what to use RK3188 device with OMV and transmission client but I can't install transmission without docker and pontainer.


    My LAN on the box is not working with Armbian, but I use USB-LAN device and is worked.

    • Official Post

    What about extraargs=apparmor=0 add to the armbian environment file? That fix is in the big docker fix thread.

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    sudo nano /boot/armbianEnv.txt

    add line

    ctrl-o to save, ctrl-x to exit.

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • sudo nano /boot/armbianEnv.txt

    add line

    ctrl-o to save, ctrl-x to exit.

    Thank you, but didn't work for me :( :(


    • Official Post

    sudo rm /etc/docker/daemon.json

    sudo systemctl start docker

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Device RK3188

    Can you post a link to some info on this?

    AFAIK, that is only the chip.

    What board/name/model, whatever is that?

  • Can you post a link to some info on this?

    AFAIK, that is only the chip.

    What board/name/model, whatever is that?

    It's Android box Minix Neo X7 with RK3188 chipset, Cortex A9 1.6GHz Quad Core.

    I installed Armbian and it's work fine, also OMV6 works fine, except installing docker.

    • Official Post

    Did you click save in omv-extras docker tab?

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Run:

    sudo omv-installdocker docker config

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Run:

    sudo omv-installdocker docker config

    root@rk3188:~# root@rk3188:~# sudo omv-installdocker docker config

    Docker storage :: /var/lib/docker

    Agent port:: 8000

    Web port:: 9000

    Yacht port:: 8001

    ee:: 0

    image:: portainer/portainer-ce

    Enable TLS:: 0

    arch :: armhf

    option :: docker

    state :: config

    extras :: 6.1.1

    diff: /etc/docker/daemon.json: No such file or directory

    Docker storage path has changed.

    Synchronizing state of docker.service with SysV service script with /lib/systemd /systemd-sysv-install.

    Executing: /lib/systemd/systemd-sysv-install enable docker

    Job for docker.service failed because the control process exited with error code .

    See "systemctl status docker.service" and "journalctl -xe" for details.



    I try again with this commands:

    sudo rm /etc/docker/daemon.json

    sudo systemctl start docker

    Job for docker.service failed because the control process exited with error code.

    See "systemctl status docker.service" and "journalctl -xe" for details.


    And again with this command:

    Run:

    sudo omv-installdocker docker config

    Docker storage :: /var/lib/docker

    Agent port:: 8000

    Web port:: 9000

    Yacht port:: 8001

    ee:: 0

    image:: portainer/portainer-ce

    Enable TLS:: 0

    arch :: armhf

    option :: docker

    state :: config

    extras :: 6.1.1

    Skipping docker restart.



    When i click restart on docker tab im omv-extras this erorr shown in the red box:


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; echo "Restarting docker ..." && systemctl restart docker.service ': Restarting docker ...


    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; echo "Restarting docker ..." && systemctl restart docker.service ': Restarting docker ... in /usr/share/openmediavault/engined/rpc/omvextras.inc:296

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMVRpcServiceOmvExtras->{closure}('/tmp/bgstatusEM...', '/tmp/bgoutputUU...')

    #1 /usr/share/openmediavault/engined/rpc/omvextras.inc(298): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #2 [internal function]: OMVRpcServiceOmvExtras->doCommand(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)

    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OmvExtras', 'doCommand', Array, Array, 1)

    #6 {main}

    • Official Post

    I try again with this commands:

    I didn't want you to do that.


    Re-run:

    sudo omv-installdocker docker config


    sudo journalctl -u docker

    omv 7.7.5-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I didn't want you to do that.


    Re-run:

    sudo omv-installdocker docker config


  • sudo journalctl -u docker

  • sudo journalctl -u docker

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!